From fd87eac16a80c6e4fe7b014a65047e66bf3688f8 Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 20:27:48 +0000 Subject: [PATCH 1/4] Fixed bug where short LC's were badly rendered --- src/factory/long-count.js | 9 ++++ src/lc/long-count.js | 11 ++++ test/long-count.test.js | 106 +++++++++++++++++++++----------------- 3 files changed, 80 insertions(+), 46 deletions(-) diff --git a/src/factory/long-count.js b/src/factory/long-count.js index d6ce079..35fec19 100644 --- a/src/factory/long-count.js +++ b/src/factory/long-count.js @@ -21,6 +21,15 @@ class LongCountFactory extends Factory { */ parse(raw) { let parts = raw.split('.'); + if (parts.length < 5) { + parts = parts.reverse(); + for (let i = 0; i < 5; i++) { + if (parts[i] === undefined) { + parts[i] = '0'; + } + } + parts = parts.reverse(); + } for (let i = 0; i < parts.length; i++) { if (i === 0) { if (parts[i].indexOf(' ') >= 0) { diff --git a/src/lc/long-count.js b/src/lc/long-count.js index 23a2304..a642cdb 100644 --- a/src/lc/long-count.js +++ b/src/lc/long-count.js @@ -34,6 +34,15 @@ class LongCount { this.raw = this.toString(); } + /** + * Given two long count dates, check if they are equal + * @param {LongCount} other + * @return {boolean} + */ + equal(other) { + return `${this}` === `${other}`; + } + /** * Create a copy object of this long count date * @returns {LongCount} @@ -297,9 +306,11 @@ class LongCount { let date_length = significant_digits.length; if (date_length < 5) { + significant_digits = significant_digits.reverse(); for (let i = 0; i < 5 - date_length; i++) { significant_digits.push(' 0'); } + significant_digits = significant_digits.reverse(); } for (let i = 0; i < significant_digits.length; i++) { diff --git a/test/long-count.test.js b/test/long-count.test.js index a409201..6526e7c 100644 --- a/test/long-count.test.js +++ b/test/long-count.test.js @@ -1,6 +1,20 @@ -const mayadates = require('../src/index') +const mayadates = require('../src/index'); describe('parse long-count date', () => { + let dates = [ + ['7.13', ' 0. 0. 0. 7.13'], + ['9.16.19.17.19', ' 9.16.19.17.19'] + ]; + let factory = new mayadates.factory.LongCountFactory(); + test.each(dates)( + '%s -> %s', + (date, expected) => { + let actual = factory.parse(date); + expect(`${actual}`).toBe(expected); + }); +}); + +describe('modify long-count date', () => { let dates = [ [ [1, 2, 3, 4, 5, 6, 7, 8], @@ -14,83 +28,83 @@ describe('parse long-count date', () => { [0, 10], ' 9.17. 0. 0.10', ], - ] + ]; test.each(dates)( '%s -> %s; %s -> %s', ( numeric_date, expected, modifiers, expected_modified, ) => { - let date = new mayadates.lc.LongCount(...numeric_date) + let date = new mayadates.lc.LongCount(...numeric_date); - expect(date.is_valid()).toBeTruthy() + expect(date.is_valid()).toBeTruthy(); - expect(date.k_in).toBe(numeric_date[0]) - expect(date.winal).toBe(numeric_date[1]) - expect(date.tun).toBe(numeric_date[2]) - expect(date.k_atun).toBe(numeric_date[3]) - expect(date.bak_tun).toBe(numeric_date[4]) - expect(date.piktun).toBe(numeric_date[5]) - expect(date.kalabtun).toBe(numeric_date[6]) - expect(date.kinchiltun).toBe(numeric_date[7]) + expect(date.k_in).toBe(numeric_date[0]); + expect(date.winal).toBe(numeric_date[1]); + expect(date.tun).toBe(numeric_date[2]); + expect(date.k_atun).toBe(numeric_date[3]); + expect(date.bak_tun).toBe(numeric_date[4]); + expect(date.piktun).toBe(numeric_date[5]); + 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) + expect(date.toString()).toBe(expected); - date.set_date_sections(...modifiers) + date.set_date_sections(...modifiers); - expect(date.toString()).toBe(expected_modified) + expect(date.toString()).toBe(expected_modified); }, - ) + ); -}) +}); test('set long count parts', () => { - let date = new mayadates.lc.LongCount(1, 2, 3, 4, 5) - expect(date.toString()).toBe(' 5. 4. 3. 2. 1') + let date = new mayadates.lc.LongCount(1, 2, 3, 4, 5); + expect(date.toString()).toBe(' 5. 4. 3. 2. 1'); - date.k_in = 5 - date.winal = 4 - date.tun = 3 - date.k_atun = 2 - date.bak_tun = 1 - date.piktun = 10 - expect(date.toString()).toBe('10. 1. 2. 3. 4. 5') + date.k_in = 5; + date.winal = 4; + date.tun = 3; + date.k_atun = 2; + date.bak_tun = 1; + date.piktun = 10; + expect(date.toString()).toBe('10. 1. 2. 3. 4. 5'); // These two are backwards to test that the extra // positions beyond the Bak'tun can be correctly rendered - date.kinchiltun = 12 - expect(date.toString()).toBe('12. 0.10. 1. 2. 3. 4. 5') - date.kalabtun = 11 - expect(date.toString()).toBe('12.11.10. 1. 2. 3. 4. 5') -}) + date.kinchiltun = 12; + expect(date.toString()).toBe('12. 0.10. 1. 2. 3. 4. 5'); + date.kalabtun = 11; + expect(date.toString()).toBe('12.11.10. 1. 2. 3. 4. 5'); +}); test('print short long-count date', () => { - let date = new mayadates.lc.LongCount(1, 2) + let date = new mayadates.lc.LongCount(1, 2); - expect(date.toString()).toBe(' 2. 1. 0. 0. 0') -}) + expect(date.toString()).toBe(' 0. 0. 0. 2. 1'); +}); describe('test lord of night glyphs', () => { - const night = mayadates.lc.night + const night = mayadates.lc.night; let dates = [ ['9.16.19.17.19', night.G8, 'G8'], ['9.17.0.0.0', night.get('G9'), 'G9'], ['9.17.0.0.5', night.G5, 'G5'], ['9.17.0.0.9', night.G9, 'G9'], ['9.17.0.0.10', night.get('G1'), 'G1'], - ] - let factory = new mayadates.factory.LongCountFactory() + ]; + let factory = new mayadates.factory.LongCountFactory(); test.each(dates)( '%s -> %s', (date, lord_of_night, id) => { - let lc = factory.parse(date) - expect(lc.lord_of_night).toBe(lord_of_night) - expect(lc.lord_of_night).not.toBeUndefined() - expect(`${lc.lord_of_night}`).toBe(id) + let lc = factory.parse(date); + expect(lc.lord_of_night).toBe(lord_of_night); + expect(lc.lord_of_night).not.toBeUndefined(); + expect(`${lc.lord_of_night}`).toBe(id); }, - ) -}) + ); +}); From dd645f3a5a95c681be3ef6ee936e5f0cd43ff629 Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 20:30:27 +0000 Subject: [PATCH 2/4] Update documentation --- docs/ast/source/factory/long-count.js.json | 8039 ++++--- docs/ast/source/lc/long-count.js.json | 17554 +++++++++------- .../class/src/lc/long-count.js~LongCount.html | 155 +- docs/coverage.json | 8 +- docs/file/src/factory/long-count.js.html | 9 + docs/file/src/lc/long-count.js.html | 11 + docs/index.json | 223 +- docs/script/search_index.js | 26 +- docs/source.html | 16 +- 9 files changed, 15042 insertions(+), 10999 deletions(-) diff --git a/docs/ast/source/factory/long-count.js.json b/docs/ast/source/factory/long-count.js.json index 61ba002..7590e1f 100644 --- a/docs/ast/source/factory/long-count.js.json +++ b/docs/ast/source/factory/long-count.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1266, + "end": 1480, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 47, + "line": 56, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1266, + "end": 1480, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 47, + "line": 56, "column": 0 } }, @@ -457,14 +457,14 @@ { "type": "ClassDeclaration", "start": 395, - "end": 1229, + "end": 1443, "loc": { "start": { "line": 16, "column": 0 }, "end": { - "line": 44, + "line": 53, "column": 1 } }, @@ -506,14 +506,14 @@ "body": { "type": "ClassBody", "start": 434, - "end": 1229, + "end": 1443, "loc": { "start": { "line": 16, "column": 39 }, "end": { - "line": 44, + "line": 53, "column": 1 } }, @@ -521,14 +521,14 @@ { "type": "ClassMethod", "start": 590, - "end": 1227, + "end": 1441, "loc": { "start": { "line": 22, "column": 2 }, "end": { - "line": 43, + "line": 52, "column": 3 } }, @@ -579,14 +579,14 @@ "body": { "type": "BlockStatement", "start": 601, - "end": 1227, + "end": 1441, "loc": { "start": { "line": 22, "column": 13 }, "end": { - "line": 43, + "line": 52, "column": 3 } }, @@ -729,147 +729,59 @@ "kind": "let" }, { - "type": "ForStatement", + "type": "IfStatement", "start": 639, - "end": 1177, + "end": 848, "loc": { "start": { "line": 24, "column": 4 }, "end": { - "line": 41, + "line": 32, "column": 5 } }, - "init": { - "type": "VariableDeclaration", - "start": 644, - "end": 653, - "loc": { - "start": { - "line": 24, - "column": 9 - }, - "end": { - "line": 24, - "column": 18 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 648, - "end": 653, - "loc": { - "start": { - "line": 24, - "column": 13 - }, - "end": { - "line": 24, - "column": 18 - } - }, - "id": { - "type": "Identifier", - "start": 648, - "end": 649, - "loc": { - "start": { - "line": 24, - "column": 13 - }, - "end": { - "line": 24, - "column": 14 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "NumericLiteral", - "start": 652, - "end": 653, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 18 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, "test": { "type": "BinaryExpression", - "start": 655, - "end": 671, + "start": 643, + "end": 659, "loc": { "start": { "line": 24, - "column": 20 + "column": 8 }, "end": { "line": 24, - "column": 36 + "column": 24 } }, "left": { - "type": "Identifier", - "start": 655, - "end": 656, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { "type": "MemberExpression", - "start": 659, - "end": 671, + "start": 643, + "end": 655, "loc": { "start": { "line": 24, - "column": 24 + "column": 8 }, "end": { "line": 24, - "column": 36 + "column": 20 } }, "object": { "type": "Identifier", - "start": 659, - "end": 664, + "start": 643, + "end": 648, "loc": { "start": { "line": 24, - "column": 24 + "column": 8 }, "end": { "line": 24, - "column": 29 + "column": 13 }, "identifierName": "parts" }, @@ -877,333 +789,465 @@ }, "property": { "type": "Identifier", - "start": 665, - "end": 671, + "start": 649, + "end": 655, "loc": { "start": { "line": 24, - "column": 30 + "column": 14 }, "end": { "line": 24, - "column": 36 + "column": 20 }, "identifierName": "length" }, "name": "length" }, "computed": false - } - }, - "update": { - "type": "UpdateExpression", - "start": 673, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 38 - }, - "end": { - "line": 24, - "column": 41 - } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 673, - "end": 674, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 658, + "end": 659, "loc": { "start": { "line": 24, - "column": 38 + "column": 23 }, "end": { "line": 24, - "column": 39 - }, - "identifierName": "i" + "column": 24 + } }, - "name": "i" + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 } }, - "body": { + "consequent": { "type": "BlockStatement", - "start": 678, - "end": 1177, + "start": 661, + "end": 848, "loc": { "start": { "line": 24, - "column": 43 + "column": 26 }, "end": { - "line": 41, + "line": 32, "column": 5 } }, "body": [ { - "type": "IfStatement", - "start": 686, - "end": 1050, + "type": "ExpressionStatement", + "start": 669, + "end": 693, "loc": { "start": { "line": 25, "column": 6 }, "end": { - "line": 35, - "column": 7 + "line": 25, + "column": 30 } }, - "test": { - "type": "BinaryExpression", - "start": 690, - "end": 697, + "expression": { + "type": "AssignmentExpression", + "start": 669, + "end": 692, "loc": { "start": { "line": 25, - "column": 10 + "column": 6 }, "end": { "line": 25, - "column": 17 + "column": 29 } }, + "operator": "=", "left": { "type": "Identifier", - "start": 690, - "end": 691, + "start": 669, + "end": 674, "loc": { "start": { "line": 25, - "column": 10 + "column": 6 }, "end": { "line": 25, "column": 11 }, - "identifierName": "i" + "identifierName": "parts" }, - "name": "i" + "name": "parts" }, - "operator": "===", "right": { - "type": "NumericLiteral", - "start": 696, - "end": 697, + "type": "CallExpression", + "start": 677, + "end": 692, "loc": { "start": { "line": 25, - "column": 16 + "column": 14 }, "end": { "line": 25, - "column": 17 + "column": 29 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "callee": { + "type": "MemberExpression", + "start": 677, + "end": 690, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 677, + "end": 682, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 19 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 683, + "end": 690, + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 27 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false }, - "value": 0 + "arguments": [] + } + } + }, + { + "type": "ForStatement", + "start": 700, + "end": 811, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 30, + "column": 7 } }, - "consequent": { - "type": "BlockStatement", - "start": 699, - "end": 867, + "init": { + "type": "VariableDeclaration", + "start": 705, + "end": 714, "loc": { "start": { - "line": 25, - "column": 19 + "line": 26, + "column": 11 }, "end": { - "line": 30, - "column": 7 + "line": 26, + "column": 20 } }, - "body": [ + "declarations": [ { - "type": "IfStatement", + "type": "VariableDeclarator", "start": 709, - "end": 859, + "end": 714, "loc": { "start": { "line": 26, - "column": 8 + "column": 15 }, "end": { - "line": 29, - "column": 9 + "line": 26, + "column": 20 } }, - "test": { - "type": "BinaryExpression", + "id": { + "type": "Identifier", + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 26, + "column": 15 + }, + "end": { + "line": 26, + "column": 16 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", "start": 713, - "end": 739, + "end": 714, "loc": { "start": { "line": 26, - "column": 12 + "column": 19 }, "end": { "line": 26, - "column": 38 + "column": 20 } }, - "left": { - "type": "CallExpression", - "start": 713, - "end": 734, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 713, - "end": 729, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 28 - } - }, - "object": { - "type": "MemberExpression", - "start": 713, - "end": 721, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 713, - "end": 718, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 17 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 719, - "end": 720, - "loc": { - "start": { - "line": 26, - "column": 18 - }, - "end": { - "line": 26, - "column": 19 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 722, - "end": 729, - "loc": { - "start": { - "line": 26, - "column": 21 - }, - "end": { - "line": 26, - "column": 28 - }, - "identifierName": "indexOf" + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 716, + "end": 721, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 27 + } + }, + "left": { + "type": "Identifier", + "start": 716, + "end": 717, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 23 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 26, + "column": 26 + }, + "end": { + "line": 26, + "column": 27 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + }, + "update": { + "type": "UpdateExpression", + "start": 723, + "end": 726, + "loc": { + "start": { + "line": 26, + "column": 29 + }, + "end": { + "line": 26, + "column": 32 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 723, + "end": 724, + "loc": { + "start": { + "line": 26, + "column": 29 + }, + "end": { + "line": 26, + "column": 30 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 728, + "end": 811, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 30, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 738, + "end": 803, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 29, + "column": 9 + } + }, + "test": { + "type": "BinaryExpression", + "start": 742, + "end": 764, + "loc": { + "start": { + "line": 27, + "column": 12 + }, + "end": { + "line": 27, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 742, + "end": 750, + "loc": { + "start": { + "line": 27, + "column": 12 + }, + "end": { + "line": 27, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 742, + "end": 747, + "loc": { + "start": { + "line": 27, + "column": 12 }, - "name": "indexOf" + "end": { + "line": 27, + "column": 17 + }, + "identifierName": "parts" }, - "computed": false + "name": "parts" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 730, - "end": 733, - "loc": { - "start": { - "line": 26, - "column": 29 - }, - "end": { - "line": 26, - "column": 32 - } + "property": { + "type": "Identifier", + "start": 748, + "end": 749, + "loc": { + "start": { + "line": 27, + "column": 18 }, - "extra": { - "rawValue": " ", - "raw": "' '" + "end": { + "line": 27, + "column": 19 }, - "value": " " - } - ] + "identifierName": "i" + }, + "name": "i" + }, + "computed": true }, - "operator": ">=", + "operator": "===", "right": { - "type": "NumericLiteral", - "start": 738, - "end": 739, + "type": "Identifier", + "start": 755, + "end": 764, "loc": { "start": { - "line": 26, - "column": 37 + "line": 27, + "column": 25 }, "end": { - "line": 26, - "column": 38 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 27, + "column": 34 + }, + "identifierName": "undefined" }, - "value": 0 + "name": "undefined" } }, "consequent": { "type": "BlockStatement", - "start": 741, - "end": 859, + "start": 766, + "end": 803, "loc": { "start": { - "line": 26, - "column": 40 + "line": 27, + "column": 36 }, "end": { "line": 29, @@ -1212,247 +1256,77 @@ }, "body": [ { - "type": "VariableDeclaration", - "start": 753, - "end": 791, + "type": "ExpressionStatement", + "start": 778, + "end": 793, "loc": { "start": { - "line": 27, + "line": 28, "column": 10 }, "end": { - "line": 27, - "column": 48 + "line": 28, + "column": 25 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 757, - "end": 790, + "expression": { + "type": "AssignmentExpression", + "start": 778, + "end": 792, + "loc": { + "start": { + "line": 28, + "column": 10 + }, + "end": { + "line": 28, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 778, + "end": 786, "loc": { "start": { - "line": 27, - "column": 14 + "line": 28, + "column": 10 }, "end": { - "line": 27, - "column": 47 + "line": 28, + "column": 18 } }, - "id": { + "object": { "type": "Identifier", - "start": 757, - "end": 768, + "start": 778, + "end": 783, "loc": { "start": { - "line": 27, - "column": 14 + "line": 28, + "column": 10 }, "end": { - "line": 27, - "column": 25 + "line": 28, + "column": 15 }, - "identifierName": "first_parts" + "identifierName": "parts" }, - "name": "first_parts" + "name": "parts" }, - "init": { - "type": "CallExpression", - "start": 771, - "end": 790, + "property": { + "type": "Identifier", + "start": 784, + "end": 785, "loc": { "start": { - "line": 27, - "column": 28 + "line": 28, + "column": 16 }, "end": { - "line": 27, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 771, - "end": 785, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 771, - "end": 779, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 771, - "end": 776, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 33 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 777, - "end": 778, - "loc": { - "start": { - "line": 27, - "column": 34 - }, - "end": { - "line": 27, - "column": 35 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 780, - "end": 785, - "loc": { - "start": { - "line": 27, - "column": 37 - }, - "end": { - "line": 27, - "column": 42 - }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 786, - "end": 789, - "loc": { - "start": { - "line": 27, - "column": 43 - }, - "end": { - "line": 27, - "column": 46 - } - }, - "extra": { - "rawValue": " ", - "raw": "' '" - }, - "value": " " - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 802, - "end": 849, - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 57 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 802, - "end": 848, - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 56 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 802, - "end": 810, - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 802, - "end": 807, - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 15 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 808, - "end": 809, - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 17 + "line": 28, + "column": 17 }, "identifierName": "i" }, @@ -1461,9 +1335,9 @@ "computed": true }, "right": { - "type": "MemberExpression", - "start": 813, - "end": 848, + "type": "StringLiteral", + "start": 789, + "end": 792, "loc": { "start": { "line": 28, @@ -1471,113 +1345,14 @@ }, "end": { "line": 28, - "column": 56 + "column": 24 } }, - "object": { - "type": "Identifier", - "start": 813, - "end": 824, - "loc": { - "start": { - "line": 28, - "column": 21 - }, - "end": { - "line": 28, - "column": 32 - }, - "identifierName": "first_parts" - }, - "name": "first_parts" - }, - "property": { - "type": "BinaryExpression", - "start": 825, - "end": 847, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 55 - } - }, - "left": { - "type": "MemberExpression", - "start": 825, - "end": 843, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 825, - "end": 836, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 44 - }, - "identifierName": "first_parts" - }, - "name": "first_parts" - }, - "property": { - "type": "Identifier", - "start": 837, - "end": 843, - "loc": { - "start": { - "line": 28, - "column": 45 - }, - "end": { - "line": 28, - "column": 51 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 846, - "end": 847, - "loc": { - "start": { - "line": 28, - "column": 54 - }, - "end": { - "line": 28, - "column": 55 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } + "extra": { + "rawValue": "0", + "raw": "'0'" }, - "computed": true + "value": "0" } } } @@ -1588,1202 +1363,2183 @@ } ], "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 818, + "end": 842, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 30 + } }, - "alternate": { - "type": "IfStatement", - "start": 873, - "end": 1050, + "expression": { + "type": "AssignmentExpression", + "start": 818, + "end": 841, "loc": { "start": { - "line": 30, - "column": 13 + "line": 31, + "column": 6 }, "end": { - "line": 35, - "column": 7 + "line": 31, + "column": 29 } }, - "test": { - "type": "BinaryExpression", - "start": 877, - "end": 901, + "operator": "=", + "left": { + "type": "Identifier", + "start": 818, + "end": 823, "loc": { "start": { - "line": 30, - "column": 17 + "line": 31, + "column": 6 }, "end": { - "line": 30, - "column": 41 - } + "line": 31, + "column": 11 + }, + "identifierName": "parts" }, - "left": { - "type": "Identifier", - "start": 877, - "end": 878, - "loc": { - "start": { - "line": 30, - "column": 17 - }, - "end": { - "line": 30, - "column": 18 - }, - "identifierName": "i" + "name": "parts" + }, + "right": { + "type": "CallExpression", + "start": 826, + "end": 841, + "loc": { + "start": { + "line": 31, + "column": 14 }, - "name": "i" + "end": { + "line": 31, + "column": 29 + } }, - "operator": "===", - "right": { - "type": "BinaryExpression", - "start": 884, - "end": 900, + "callee": { + "type": "MemberExpression", + "start": 826, + "end": 839, "loc": { "start": { - "line": 30, - "column": 24 + "line": 31, + "column": 14 }, "end": { - "line": 30, - "column": 40 + "line": 31, + "column": 27 } }, - "left": { - "type": "MemberExpression", - "start": 884, - "end": 896, + "object": { + "type": "Identifier", + "start": 826, + "end": 831, "loc": { "start": { - "line": 30, - "column": 24 + "line": 31, + "column": 14 }, "end": { - "line": 30, - "column": 36 - } + "line": 31, + "column": 19 + }, + "identifierName": "parts" }, - "object": { - "type": "Identifier", - "start": 884, - "end": 889, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 29 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 890, - "end": 896, - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 36 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false + "name": "parts" }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 899, - "end": 900, + "property": { + "type": "Identifier", + "start": 832, + "end": 839, "loc": { "start": { - "line": 30, - "column": 39 + "line": 31, + "column": 20 }, "end": { - "line": 30, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "line": 31, + "column": 27 + }, + "identifierName": "reverse" }, - "value": 1 + "name": "reverse" }, - "extra": { - "parenthesized": true, - "parenStart": 883 - } + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ForStatement", + "start": 853, + "end": 1391, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 50, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 858, + "end": 867, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 862, + "end": 867, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 862, + "end": 863, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 866, + "end": 867, + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 18 } }, - "consequent": { - "type": "BlockStatement", - "start": 903, - "end": 1050, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 869, + "end": 885, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 36 + } + }, + "left": { + "type": "Identifier", + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 21 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 873, + "end": 885, + "loc": { + "start": { + "line": 33, + "column": 24 + }, + "end": { + "line": 33, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 873, + "end": 878, + "loc": { + "start": { + "line": 33, + "column": 24 + }, + "end": { + "line": 33, + "column": 29 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 879, + "end": 885, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 36 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "update": { + "type": "UpdateExpression", + "start": 887, + "end": 890, + "loc": { + "start": { + "line": 33, + "column": 38 + }, + "end": { + "line": 33, + "column": 41 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 887, + "end": 888, + "loc": { + "start": { + "line": 33, + "column": 38 + }, + "end": { + "line": 33, + "column": 39 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 892, + "end": 1391, + "loc": { + "start": { + "line": 33, + "column": 43 + }, + "end": { + "line": 50, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 900, + "end": 1264, + "loc": { + "start": { + "line": 34, + "column": 6 + }, + "end": { + "line": 44, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 904, + "end": 911, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 17 + } + }, + "left": { + "type": "Identifier", + "start": 904, + "end": 905, "loc": { "start": { - "line": 30, - "column": 43 + "line": 34, + "column": 10 }, "end": { - "line": 35, - "column": 7 + "line": 34, + "column": 11 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 910, + "end": 911, + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 17 } }, - "body": [ - { - "type": "IfStatement", - "start": 913, - "end": 1042, - "loc": { - "start": { - "line": 31, - "column": 8 + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 913, + "end": 1081, + "loc": { + "start": { + "line": 34, + "column": 19 + }, + "end": { + "line": 39, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 923, + "end": 1073, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 38, + "column": 9 + } + }, + "test": { + "type": "BinaryExpression", + "start": 927, + "end": 953, + "loc": { + "start": { + "line": 35, + "column": 12 }, "end": { - "line": 34, - "column": 9 + "line": 35, + "column": 38 } }, - "test": { - "type": "BinaryExpression", - "start": 917, - "end": 943, + "left": { + "type": "CallExpression", + "start": 927, + "end": 948, "loc": { "start": { - "line": 31, + "line": 35, "column": 12 }, "end": { - "line": 31, - "column": 38 + "line": 35, + "column": 33 } }, - "left": { - "type": "CallExpression", - "start": 917, - "end": 938, + "callee": { + "type": "MemberExpression", + "start": 927, + "end": 943, "loc": { "start": { - "line": 31, + "line": 35, "column": 12 }, "end": { - "line": 31, - "column": 33 + "line": 35, + "column": 28 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 917, - "end": 933, + "start": 927, + "end": 935, "loc": { "start": { - "line": 31, + "line": 35, "column": 12 }, "end": { - "line": 31, - "column": 28 + "line": 35, + "column": 20 } }, "object": { - "type": "MemberExpression", - "start": 917, - "end": 925, + "type": "Identifier", + "start": 927, + "end": 932, "loc": { "start": { - "line": 31, + "line": 35, "column": 12 }, "end": { - "line": 31, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 917, - "end": 922, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 17 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 923, - "end": 924, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 19 - }, - "identifierName": "i" + "line": 35, + "column": 17 }, - "name": "i" + "identifierName": "parts" }, - "computed": true + "name": "parts" }, "property": { "type": "Identifier", - "start": 926, - "end": 933, + "start": 933, + "end": 934, "loc": { "start": { - "line": 31, - "column": 21 + "line": 35, + "column": 18 }, "end": { - "line": 31, - "column": 28 + "line": 35, + "column": 19 }, - "identifierName": "indexOf" + "identifierName": "i" }, - "name": "indexOf" + "name": "i" }, - "computed": false + "computed": true }, - "arguments": [ - { - "type": "StringLiteral", - "start": 934, - "end": 937, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 32 - } + "property": { + "type": "Identifier", + "start": 936, + "end": 943, + "loc": { + "start": { + "line": 35, + "column": 21 }, - "extra": { - "rawValue": " ", - "raw": "' '" + "end": { + "line": 35, + "column": 28 }, - "value": " " - } - ] - }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 942, - "end": 943, - "loc": { - "start": { - "line": 31, - "column": 37 + "identifierName": "indexOf" }, - "end": { - "line": 31, - "column": 38 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 945, - "end": 1042, - "loc": { - "start": { - "line": 31, - "column": 40 + "name": "indexOf" }, - "end": { - "line": 34, - "column": 9 - } + "computed": false }, - "body": [ + "arguments": [ { - "type": "VariableDeclaration", - "start": 957, - "end": 995, + "type": "StringLiteral", + "start": 944, + "end": 947, "loc": { "start": { - "line": 32, - "column": 10 + "line": 35, + "column": 29 }, "end": { - "line": 32, - "column": 48 + "line": 35, + "column": 32 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 961, - "end": 994, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] + }, + "operator": ">=", + "right": { + "type": "NumericLiteral", + "start": 952, + "end": 953, + "loc": { + "start": { + "line": 35, + "column": 37 + }, + "end": { + "line": 35, + "column": 38 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 955, + "end": 1073, + "loc": { + "start": { + "line": 35, + "column": 40 + }, + "end": { + "line": 38, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 967, + "end": 1005, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 971, + "end": 1004, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 971, + "end": 982, "loc": { "start": { - "line": 32, + "line": 36, "column": 14 }, "end": { - "line": 32, - "column": 47 - } + "line": 36, + "column": 25 + }, + "identifierName": "first_parts" }, - "id": { - "type": "Identifier", - "start": 961, - "end": 972, - "loc": { - "start": { - "line": 32, - "column": 14 - }, - "end": { - "line": 32, - "column": 25 - }, - "identifierName": "first_parts" + "name": "first_parts" + }, + "init": { + "type": "CallExpression", + "start": 985, + "end": 1004, + "loc": { + "start": { + "line": 36, + "column": 28 }, - "name": "first_parts" + "end": { + "line": 36, + "column": 47 + } }, - "init": { - "type": "CallExpression", - "start": 975, - "end": 994, + "callee": { + "type": "MemberExpression", + "start": 985, + "end": 999, "loc": { "start": { - "line": 32, + "line": 36, "column": 28 }, "end": { - "line": 32, - "column": 47 + "line": 36, + "column": 42 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 975, - "end": 989, + "start": 985, + "end": 993, "loc": { "start": { - "line": 32, + "line": 36, "column": 28 }, "end": { - "line": 32, - "column": 42 + "line": 36, + "column": 36 } }, "object": { - "type": "MemberExpression", - "start": 975, - "end": 983, + "type": "Identifier", + "start": 985, + "end": 990, "loc": { "start": { - "line": 32, + "line": 36, "column": 28 }, "end": { - "line": 32, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 975, - "end": 980, - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 33 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 981, - "end": 982, - "loc": { - "start": { - "line": 32, - "column": 34 - }, - "end": { - "line": 32, - "column": 35 - }, - "identifierName": "i" + "line": 36, + "column": 33 }, - "name": "i" + "identifierName": "parts" }, - "computed": true + "name": "parts" }, "property": { "type": "Identifier", - "start": 984, - "end": 989, + "start": 991, + "end": 992, "loc": { "start": { - "line": 32, - "column": 37 + "line": 36, + "column": 34 }, "end": { - "line": 32, - "column": 42 + "line": 36, + "column": 35 }, - "identifierName": "split" + "identifierName": "i" }, - "name": "split" + "name": "i" }, - "computed": false + "computed": true }, - "arguments": [ - { - "type": "StringLiteral", - "start": 990, - "end": 993, - "loc": { - "start": { - "line": 32, - "column": 43 - }, - "end": { - "line": 32, - "column": 46 - } + "property": { + "type": "Identifier", + "start": 994, + "end": 999, + "loc": { + "start": { + "line": 36, + "column": 37 }, - "extra": { - "rawValue": " ", - "raw": "' '" + "end": { + "line": 36, + "column": 42 }, - "value": " " - } - ] - } + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1000, + "end": 1003, + "loc": { + "start": { + "line": 36, + "column": 43 + }, + "end": { + "line": 36, + "column": 46 + } + }, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] } - ], - "kind": "let" + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 1016, + "end": 1063, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 57 + } }, - { - "type": "ExpressionStatement", - "start": 1006, - "end": 1032, + "expression": { + "type": "AssignmentExpression", + "start": 1016, + "end": 1062, "loc": { "start": { - "line": 33, + "line": 37, "column": 10 }, "end": { - "line": 33, - "column": 36 + "line": 37, + "column": 56 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1006, - "end": 1031, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1016, + "end": 1024, "loc": { "start": { - "line": 33, + "line": 37, "column": 10 }, "end": { - "line": 33, - "column": 35 + "line": 37, + "column": 18 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1006, - "end": 1014, + "object": { + "type": "Identifier", + "start": 1016, + "end": 1021, "loc": { "start": { - "line": 33, + "line": 37, "column": 10 }, "end": { - "line": 33, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 1006, - "end": 1011, - "loc": { - "start": { - "line": 33, - "column": 10 - }, - "end": { - "line": 33, - "column": 15 - }, - "identifierName": "parts" + "line": 37, + "column": 15 }, - "name": "parts" + "identifierName": "parts" }, - "property": { - "type": "Identifier", - "start": 1012, - "end": 1013, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 17 - }, - "identifierName": "i" + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1022, + "end": 1023, + "loc": { + "start": { + "line": 37, + "column": 16 }, - "name": "i" + "end": { + "line": 37, + "column": 17 + }, + "identifierName": "i" }, - "computed": true + "name": "i" }, - "right": { - "type": "MemberExpression", - "start": 1017, - "end": 1031, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 1027, + "end": 1062, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 1027, + "end": 1038, "loc": { "start": { - "line": 33, + "line": 37, "column": 21 }, "end": { - "line": 33, - "column": 35 + "line": 37, + "column": 32 + }, + "identifierName": "first_parts" + }, + "name": "first_parts" + }, + "property": { + "type": "BinaryExpression", + "start": 1039, + "end": 1061, + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 55 } }, - "object": { - "type": "Identifier", - "start": 1017, - "end": 1028, + "left": { + "type": "MemberExpression", + "start": 1039, + "end": 1057, "loc": { "start": { - "line": 33, - "column": 21 + "line": 37, + "column": 33 }, "end": { - "line": 33, - "column": 32 + "line": 37, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 1039, + "end": 1050, + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 44 + }, + "identifierName": "first_parts" }, - "identifierName": "first_parts" + "name": "first_parts" }, - "name": "first_parts" + "property": { + "type": "Identifier", + "start": 1051, + "end": 1057, + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 51 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false }, - "property": { + "operator": "-", + "right": { "type": "NumericLiteral", - "start": 1029, - "end": 1030, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 33, - "column": 33 + "line": 37, + "column": 54 }, "end": { - "line": 33, - "column": 34 + "line": 37, + "column": 55 } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": 1, + "raw": "1" }, - "value": 0 - }, - "computed": true - } + "value": 1 + } + }, + "computed": true } } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": null - } - }, - { - "type": "IfStatement", - "start": 1057, - "end": 1171, - "loc": { - "start": { - "line": 36, - "column": 6 - }, - "end": { - "line": 40, - "column": 7 - } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] }, - "test": { - "type": "BinaryExpression", - "start": 1061, - "end": 1077, + "alternate": { + "type": "IfStatement", + "start": 1087, + "end": 1264, "loc": { "start": { - "line": 36, - "column": 10 + "line": 39, + "column": 13 }, "end": { - "line": 36, - "column": 26 + "line": 44, + "column": 7 } }, - "left": { - "type": "MemberExpression", - "start": 1061, - "end": 1069, + "test": { + "type": "BinaryExpression", + "start": 1091, + "end": 1115, "loc": { "start": { - "line": 36, - "column": 10 + "line": 39, + "column": 17 }, "end": { - "line": 36, - "column": 18 + "line": 39, + "column": 41 } }, - "object": { - "type": "Identifier", - "start": 1061, - "end": 1066, - "loc": { - "start": { - "line": 36, - "column": 10 - }, - "end": { - "line": 36, - "column": 15 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { + "left": { "type": "Identifier", - "start": 1067, - "end": 1068, + "start": 1091, + "end": 1092, "loc": { "start": { - "line": 36, - "column": 16 + "line": 39, + "column": 17 }, "end": { - "line": 36, - "column": 17 + "line": 39, + "column": 18 }, "identifierName": "i" }, "name": "i" }, - "computed": true - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 1074, - "end": 1077, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 26 - } - }, - "extra": { - "rawValue": "*", - "raw": "'*'" - }, - "value": "*" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1079, - "end": 1117, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 38, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1089, - "end": 1109, + "operator": "===", + "right": { + "type": "BinaryExpression", + "start": 1098, + "end": 1114, "loc": { "start": { - "line": 37, - "column": 8 + "line": 39, + "column": 24 }, "end": { - "line": 37, - "column": 28 + "line": 39, + "column": 40 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1089, - "end": 1108, + "left": { + "type": "MemberExpression", + "start": 1098, + "end": 1110, "loc": { "start": { - "line": 37, - "column": 8 + "line": 39, + "column": 24 }, "end": { - "line": 37, - "column": 27 + "line": 39, + "column": 36 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1089, - "end": 1097, + "object": { + "type": "Identifier", + "start": 1098, + "end": 1103, "loc": { "start": { - "line": 37, - "column": 8 + "line": 39, + "column": 24 }, "end": { - "line": 37, - "column": 16 - } - }, - "object": { - "type": "Identifier", - "start": 1089, - "end": 1094, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 13 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 1095, - "end": 1096, - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 15 - }, - "identifierName": "i" + "line": 39, + "column": 29 }, - "name": "i" + "identifierName": "parts" }, - "computed": true + "name": "parts" }, - "right": { + "property": { "type": "Identifier", - "start": 1100, - "end": 1108, + "start": 1104, + "end": 1110, "loc": { "start": { - "line": 37, - "column": 19 + "line": 39, + "column": 30 }, "end": { - "line": 37, - "column": 27 + "line": 39, + "column": 36 }, - "identifierName": "wildcard" + "identifierName": "length" }, - "name": "wildcard" - } + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 1113, + "end": 1114, + "loc": { + "start": { + "line": 39, + "column": 39 + }, + "end": { + "line": 39, + "column": 40 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 1097 } } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 1123, - "end": 1171, - "loc": { - "start": { - "line": 38, - "column": 13 - }, - "end": { - "line": 40, - "column": 7 - } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1133, - "end": 1163, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 38 - } + "consequent": { + "type": "BlockStatement", + "start": 1117, + "end": 1264, + "loc": { + "start": { + "line": 39, + "column": 43 }, - "expression": { - "type": "AssignmentExpression", - "start": 1133, - "end": 1162, + "end": { + "line": 44, + "column": 7 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1127, + "end": 1256, "loc": { "start": { - "line": 39, + "line": 40, "column": 8 }, "end": { - "line": 39, - "column": 37 + "line": 43, + "column": 9 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1133, - "end": 1141, + "test": { + "type": "BinaryExpression", + "start": 1131, + "end": 1157, "loc": { "start": { - "line": 39, - "column": 8 + "line": 40, + "column": 12 }, "end": { - "line": 39, - "column": 16 + "line": 40, + "column": 38 } }, - "object": { - "type": "Identifier", - "start": 1133, - "end": 1138, + "left": { + "type": "CallExpression", + "start": 1131, + "end": 1152, "loc": { "start": { - "line": 39, - "column": 8 + "line": 40, + "column": 12 }, "end": { - "line": 39, - "column": 13 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 1139, - "end": 1140, - "loc": { - "start": { - "line": 39, - "column": 14 - }, - "end": { - "line": 39, - "column": 15 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "right": { - "type": "CallExpression", - "start": 1144, - "end": 1162, - "loc": { - "start": { - "line": 39, - "column": 19 - }, - "end": { - "line": 39, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1144, - "end": 1152, - "loc": { - "start": { - "line": 39, - "column": 19 - }, - "end": { - "line": 39, - "column": 27 - }, - "identifierName": "parseInt" + "line": 40, + "column": 33 + } }, - "name": "parseInt" - }, - "arguments": [ - { + "callee": { "type": "MemberExpression", - "start": 1153, - "end": 1161, + "start": 1131, + "end": 1147, "loc": { "start": { - "line": 39, - "column": 28 + "line": 40, + "column": 12 }, "end": { - "line": 39, - "column": 36 + "line": 40, + "column": 28 } }, "object": { - "type": "Identifier", - "start": 1153, - "end": 1158, + "type": "MemberExpression", + "start": 1131, + "end": 1139, "loc": { "start": { - "line": 39, - "column": 28 + "line": 40, + "column": 12 }, "end": { - "line": 39, - "column": 33 + "line": 40, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 1131, + "end": 1136, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 17 + }, + "identifierName": "parts" }, - "identifierName": "parts" + "name": "parts" }, - "name": "parts" + "property": { + "type": "Identifier", + "start": 1137, + "end": 1138, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 19 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true }, "property": { "type": "Identifier", - "start": 1159, - "end": 1160, + "start": 1140, + "end": 1147, "loc": { "start": { - "line": 39, - "column": 34 + "line": 40, + "column": 21 }, "end": { - "line": 39, - "column": 35 + "line": 40, + "column": 28 }, - "identifierName": "i" + "identifierName": "indexOf" }, - "name": "i" + "name": "indexOf" }, - "computed": true - } - ] - } - } - } - ], - "directives": [] - } - } - ], - "directives": [] - } - }, - { - "type": "ReturnStatement", - "start": 1182, - "end": 1223, - "loc": { - "start": { - "line": 42, - "column": 4 - }, - "end": { - "line": 42, - "column": 45 - } - }, - "argument": { - "type": "NewExpression", - "start": 1189, - "end": 1222, - "loc": { - "start": { - "line": 42, - "column": 11 - }, - "end": { - "line": 42, - "column": 44 - } - }, - "callee": { - "type": "Identifier", - "start": 1193, - "end": 1202, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 24 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 1203, - "end": 1221, - "loc": { - "start": { - "line": 42, - "column": 25 - }, - "end": { - "line": 42, - "column": 43 - } - }, - "argument": { - "type": "CallExpression", - "start": 1206, - "end": 1221, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1206, - "end": 1219, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 1206, - "end": 1211, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 33 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "property": { - "type": "Identifier", - "start": 1212, - "end": 1219, - "loc": { - "start": { - "line": 42, - "column": 34 - }, - "end": { - "line": 42, - "column": 41 + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1148, + "end": 1151, + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 32 + } + }, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] + }, + "operator": ">=", + "right": { + "type": "NumericLiteral", + "start": 1156, + "end": 1157, + "loc": { + "start": { + "line": 40, + "column": 37 + }, + "end": { + "line": 40, + "column": 38 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, - "identifierName": "reverse" - }, - "name": "reverse" - }, - "computed": false - }, - "arguments": [] - } - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "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": 438, - "end": 587, + "consequent": { + "type": "BlockStatement", + "start": 1159, + "end": 1256, + "loc": { + "start": { + "line": 40, + "column": 40 + }, + "end": { + "line": 43, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1171, + "end": 1209, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1175, + "end": 1208, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 1175, + "end": 1186, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 25 + }, + "identifierName": "first_parts" + }, + "name": "first_parts" + }, + "init": { + "type": "CallExpression", + "start": 1189, + "end": 1208, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1189, + "end": 1203, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 1189, + "end": 1197, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 1189, + "end": 1194, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 33 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1195, + "end": 1196, + "loc": { + "start": { + "line": 41, + "column": 34 + }, + "end": { + "line": 41, + "column": 35 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 1198, + "end": 1203, + "loc": { + "start": { + "line": 41, + "column": 37 + }, + "end": { + "line": 41, + "column": 42 + }, + "identifierName": "split" + }, + "name": "split" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1204, + "end": 1207, + "loc": { + "start": { + "line": 41, + "column": 43 + }, + "end": { + "line": 41, + "column": 46 + } + }, + "extra": { + "rawValue": " ", + "raw": "' '" + }, + "value": " " + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 1220, + "end": 1246, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 36 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1220, + "end": 1245, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1220, + "end": 1228, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1220, + "end": 1225, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 15 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1226, + "end": 1227, + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 42, + "column": 17 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 1231, + "end": 1245, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 1231, + "end": 1242, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 32 + }, + "identifierName": "first_parts" + }, + "name": "first_parts" + }, + "property": { + "type": "NumericLiteral", + "start": 1243, + "end": 1244, + "loc": { + "start": { + "line": 42, + "column": 33 + }, + "end": { + "line": 42, + "column": 34 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + } + }, + { + "type": "IfStatement", + "start": 1271, + "end": 1385, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 49, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1275, + "end": 1291, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 26 + } + }, + "left": { + "type": "MemberExpression", + "start": 1275, + "end": 1283, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1275, + "end": 1280, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 15 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1281, + "end": 1282, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 17 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 1288, + "end": 1291, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 26 + } + }, + "extra": { + "rawValue": "*", + "raw": "'*'" + }, + "value": "*" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1293, + "end": 1331, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 47, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1303, + "end": 1323, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1303, + "end": 1322, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1303, + "end": 1311, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 1303, + "end": 1308, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 13 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1309, + "end": 1310, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 15 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 1314, + "end": 1322, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 27 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1337, + "end": 1385, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 49, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1347, + "end": 1377, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 38 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1347, + "end": 1376, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 37 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1347, + "end": 1355, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 1347, + "end": 1352, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 13 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1353, + "end": 1354, + "loc": { + "start": { + "line": 48, + "column": 14 + }, + "end": { + "line": 48, + "column": 15 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "right": { + "type": "CallExpression", + "start": 1358, + "end": 1376, + "loc": { + "start": { + "line": 48, + "column": 19 + }, + "end": { + "line": 48, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 1358, + "end": 1366, + "loc": { + "start": { + "line": 48, + "column": 19 + }, + "end": { + "line": 48, + "column": 27 + }, + "identifierName": "parseInt" + }, + "name": "parseInt" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1367, + "end": 1375, + "loc": { + "start": { + "line": 48, + "column": 28 + }, + "end": { + "line": 48, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 1367, + "end": 1372, + "loc": { + "start": { + "line": 48, + "column": 28 + }, + "end": { + "line": 48, + "column": 33 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1373, + "end": 1374, + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 35 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + ] + } + } + } + ], + "directives": [] + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 1396, + "end": 1437, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 45 + } + }, + "argument": { + "type": "NewExpression", + "start": 1403, + "end": 1436, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 1407, + "end": 1416, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 24 + }, + "identifierName": "LongCount" + }, + "name": "LongCount" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 1417, + "end": 1435, + "loc": { + "start": { + "line": 51, + "column": 25 + }, + "end": { + "line": 51, + "column": 43 + } + }, + "argument": { + "type": "CallExpression", + "start": 1420, + "end": 1435, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1420, + "end": 1433, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1420, + "end": 1425, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 33 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 1426, + "end": 1433, + "loc": { + "start": { + "line": 51, + "column": 34 + }, + "end": { + "line": 51, + "column": 41 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false + }, + "arguments": [] + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "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": 438, + "end": 587, "loc": { "start": { "line": 17, @@ -2799,229 +3555,1758 @@ } ] }, - "leadingComments": [ - { - "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": 169, - "end": 394, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 15, - "column": 3 - } - } - } - ] + "leadingComments": [ + { + "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": 169, + "end": 394, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1445, + "end": 1479, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1445, + "end": 1478, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1445, + "end": 1459, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 1445, + "end": 1451, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 6 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 1452, + "end": 1459, + "loc": { + "start": { + "line": 55, + "column": 7 + }, + "end": { + "line": 55, + "column": 14 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1462, + "end": 1478, + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 33 + }, + "identifierName": "LongCountFactory" + }, + "name": "LongCountFactory" + } + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 50, + "end": 64, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 112, + "end": 126, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "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": 169, + "end": 394, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "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": 438, + "end": 587, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 21, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 0, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 15, + "end": 20, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Factory", + "start": 21, + "end": 28, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 29, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 31, + "end": 38, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 38, + "end": 39, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./base", + "start": 39, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 47, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "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": 50, + "end": 64, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 65, + "end": 70, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LongCount", + "start": 71, + "end": 80, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 83, + "end": 90, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 90, + "end": 91, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../lc/long-count", + "start": 91, + "end": 109, + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 109, + "end": 110, + "loc": { + "start": { + "line": 4, + "column": 44 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + { + "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": 112, + "end": 126, + "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": 127, + "end": 132, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wildcard", + "start": 133, + "end": 141, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 142, + "end": 143, + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 144, + "end": 151, + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 151, + "end": 152, + "loc": { + "start": { + "line": 6, + "column": 24 + }, + "end": { + "line": 6, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../wildcard", + "start": 152, + "end": 165, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 165, + "end": 166, + "loc": { + "start": { + "line": 6, + "column": 38 + }, + "end": { + "line": 6, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 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": 169, + "end": 394, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 395, + "end": 400, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LongCountFactory", + "start": 401, + "end": 417, + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 418, + "end": 425, + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Factory", + "start": 426, + "end": 433, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 434, + "end": 435, + "loc": { + "start": { + "line": 16, + "column": 39 + }, + "end": { + "line": 16, + "column": 40 + } + } + }, + { + "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": 438, + "end": 587, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 21, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 590, + "end": 595, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 595, + "end": 596, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "raw", + "start": 596, + "end": 599, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 599, + "end": 600, + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 601, + "end": 602, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 607, + "end": 610, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 611, + "end": 616, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 23, + "column": 14 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "raw", + "start": 619, + "end": 622, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 623, + "end": 628, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 628, + "end": 629, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".", + "start": 629, + "end": 632, + "loc": { + "start": { + "line": 23, + "column": 26 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - { - "type": "ExpressionStatement", - "start": 1231, - "end": 1265, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 34 - } + "start": 632, + "end": 633, + "loc": { + "start": { + "line": 23, + "column": 29 }, - "expression": { - "type": "AssignmentExpression", - "start": 1231, - "end": 1264, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1231, - "end": 1245, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1231, - "end": 1237, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 1238, - "end": 1245, - "loc": { - "start": { - "line": 46, - "column": 7 - }, - "end": { - "line": 46, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1248, - "end": 1264, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 33 - }, - "identifierName": "LongCountFactory" - }, - "name": "LongCountFactory" - } + "end": { + "line": 23, + "column": 30 + } + } + }, + { + "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": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 639, + "end": 641, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 642, + "end": 643, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 643, + "end": 648, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 14 } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 649, + "end": 655, "loc": { "start": { - "line": 1, - "column": 0 + "line": 24, + "column": 14 }, "end": { - "line": 1, - "column": 14 + "line": 24, + "column": 20 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 656, + "end": 657, "loc": { "start": { - "line": 3, - "column": 0 + "line": 24, + "column": 21 }, "end": { - "line": 3, - "column": 14 + "line": 24, + "column": 22 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 112, - "end": 126, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 658, + "end": 659, "loc": { "start": { - "line": 5, - "column": 0 + "line": 24, + "column": 23 }, "end": { - "line": 5, - "column": 14 + "line": 24, + "column": 24 } } }, { - "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": 169, - "end": 394, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 659, + "end": 660, "loc": { "start": { - "line": 8, - "column": 0 + "line": 24, + "column": 24 }, "end": { - "line": 15, - "column": 3 + "line": 24, + "column": 25 } } }, { - "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": 438, - "end": 587, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 661, + "end": 662, "loc": { "start": { - "line": 17, - "column": 2 + "line": 24, + "column": 26 }, "end": { - "line": 21, - "column": 5 + "line": 24, + "column": 27 } } - } - ], - "tokens": [ + }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 669, + "end": 674, "loc": { "start": { - "line": 1, - "column": 0 + "line": 25, + "column": 6 }, "end": { - "line": 1, + "line": 25, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 675, + "end": 676, + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 677, + "end": 682, + "loc": { + "start": { + "line": 25, "column": 14 + }, + "end": { + "line": 25, + "column": 19 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3032,17 +5317,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "start": 682, + "end": 683, "loc": { "start": { - "line": 2, - "column": 0 + "line": 25, + "column": 19 }, "end": { - "line": 2, - "column": 5 + "line": 25, + "column": 20 } } }, @@ -3058,52 +5342,50 @@ "postfix": false, "binop": null }, - "value": "Factory", - "start": 21, - "end": 28, + "value": "reverse", + "start": 683, + "end": 690, "loc": { "start": { - "line": 2, - "column": 6 + "line": 25, + "column": 20 }, "end": { - "line": 2, - "column": 13 + "line": 25, + "column": 27 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 29, - "end": 30, + "start": 690, + "end": 691, "loc": { "start": { - "line": 2, - "column": 14 + "line": 25, + "column": 27 }, "end": { - "line": 2, - "column": 15 + "line": 25, + "column": 28 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3111,77 +5393,78 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 31, - "end": 38, + "start": 691, + "end": 692, "loc": { "start": { - "line": 2, - "column": 16 + "line": 25, + "column": 28 }, "end": { - "line": 2, - "column": 23 + "line": 25, + "column": 29 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 38, - "end": 39, + "start": 692, + "end": 693, "loc": { "start": { - "line": 2, - "column": 23 + "line": 25, + "column": 29 }, "end": { - "line": 2, - "column": 24 + "line": 25, + "column": 30 } } }, { "type": { - "label": "string", + "label": "for", + "keyword": "for", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "./base", - "start": 39, - "end": 47, + "value": "for", + "start": 700, + "end": 703, "loc": { "start": { - "line": 2, - "column": 24 + "line": 26, + "column": 6 }, "end": { - "line": 2, - "column": 32 + "line": 26, + "column": 9 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3189,23 +5472,24 @@ "postfix": false, "binop": null }, - "start": 47, - "end": 48, + "start": 704, + "end": 705, "loc": { "start": { - "line": 2, - "column": 32 + "line": 26, + "column": 10 }, "end": { - "line": 2, - "column": 33 + "line": 26, + "column": 11 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3215,66 +5499,76 @@ "binop": null, "updateContext": null }, - "start": 48, - "end": 49, + "value": "let", + "start": 705, + "end": 708, "loc": { "start": { - "line": 2, - "column": 33 + "line": 26, + "column": 11 }, "end": { - "line": 2, - "column": 34 + "line": 26, + "column": 14 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 709, + "end": 710, "loc": { "start": { - "line": 3, - "column": 0 + "line": 26, + "column": 15 }, "end": { - "line": 3, - "column": 14 + "line": 26, + "column": 16 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 65, - "end": 70, + "value": "=", + "start": 711, + "end": 712, "loc": { "start": { - "line": 4, - "column": 0 + "line": 26, + "column": 17 }, "end": { - "line": 4, - "column": 5 + "line": 26, + "column": 18 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3282,46 +5576,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LongCount", - "start": 71, - "end": 80, + "value": 0, + "start": 713, + "end": 714, "loc": { "start": { - "line": 4, - "column": 6 + "line": 26, + "column": 19 }, "end": { - "line": 4, - "column": 15 + "line": 26, + "column": 20 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 81, - "end": 82, + "start": 714, + "end": 715, "loc": { "start": { - "line": 4, - "column": 16 + "line": 26, + "column": 20 }, "end": { - "line": 4, - "column": 17 + "line": 26, + "column": 21 } } }, @@ -3337,48 +5631,50 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 83, - "end": 90, + "value": "i", + "start": 716, + "end": 717, "loc": { "start": { - "line": 4, - "column": 18 + "line": 26, + "column": 22 }, "end": { - "line": 4, - "column": 25 + "line": 26, + "column": 23 } } }, { "type": { - "label": "(", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 90, - "end": 91, + "value": "<", + "start": 718, + "end": 719, "loc": { "start": { - "line": 4, - "column": 25 + "line": 26, + "column": 24 }, "end": { - "line": 4, - "column": 26 + "line": 26, + "column": 25 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3389,91 +5685,101 @@ "binop": null, "updateContext": null }, - "value": "../lc/long-count", - "start": 91, - "end": 109, + "value": 5, + "start": 720, + "end": 721, "loc": { "start": { - "line": 4, + "line": 26, "column": 26 }, "end": { - "line": 4, - "column": 44 + "line": 26, + "column": 27 } } }, { "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": 109, - "end": 110, + "start": 721, + "end": 722, "loc": { "start": { - "line": 4, - "column": 44 + "line": 26, + "column": 27 }, "end": { - "line": 4, - "column": 45 + "line": 26, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 110, - "end": 111, + "value": "i", + "start": 723, + "end": 724, "loc": { "start": { - "line": 4, - "column": 45 + "line": 26, + "column": 29 }, "end": { - "line": 4, - "column": 46 + "line": 26, + "column": 30 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 112, - "end": 126, + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 724, + "end": 726, "loc": { "start": { - "line": 5, - "column": 0 + "line": 26, + "column": 30 }, "end": { - "line": 5, - "column": 14 + "line": 26, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3481,27 +5787,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 127, - "end": 132, + "start": 726, + "end": 727, "loc": { "start": { - "line": 6, - "column": 0 + "line": 26, + "column": 32 }, "end": { - "line": 6, - "column": 5 + "line": 26, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3510,51 +5814,51 @@ "postfix": false, "binop": null }, - "value": "wildcard", - "start": 133, - "end": 141, + "start": 728, + "end": 729, "loc": { "start": { - "line": 6, - "column": 6 + "line": 26, + "column": 34 }, "end": { - "line": 6, - "column": 14 + "line": 26, + "column": 35 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 142, - "end": 143, + "value": "if", + "start": 738, + "end": 740, "loc": { "start": { - "line": 6, - "column": 15 + "line": 27, + "column": 8 }, "end": { - "line": 6, - "column": 16 + "line": 27, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3563,24 +5867,23 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 144, - "end": 151, + "start": 741, + "end": 742, "loc": { "start": { - "line": 6, - "column": 17 + "line": 27, + "column": 11 }, "end": { - "line": 6, - "column": 24 + "line": 27, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3589,23 +5892,24 @@ "postfix": false, "binop": null }, - "start": 151, - "end": 152, + "value": "parts", + "start": 742, + "end": 747, "loc": { "start": { - "line": 6, - "column": 24 + "line": 27, + "column": 12 }, "end": { - "line": 6, - "column": 25 + "line": 27, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3615,25 +5919,24 @@ "binop": null, "updateContext": null }, - "value": "../wildcard", - "start": 152, - "end": 165, + "start": 747, + "end": 748, "loc": { "start": { - "line": 6, - "column": 25 + "line": 27, + "column": 17 }, "end": { - "line": 6, - "column": 38 + "line": 27, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3641,23 +5944,24 @@ "postfix": false, "binop": null }, - "start": 165, - "end": 166, + "value": "i", + "start": 748, + "end": 749, "loc": { "start": { - "line": 6, - "column": 38 + "line": 27, + "column": 18 }, "end": { - "line": 6, - "column": 39 + "line": 27, + "column": 19 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3667,68 +5971,77 @@ "binop": null, "updateContext": null }, - "start": 166, - "end": 167, + "start": 749, + "end": 750, "loc": { "start": { - "line": 6, - "column": 39 + "line": 27, + "column": 19 }, "end": { - "line": 6, - "column": 40 + "line": 27, + "column": 20 } } }, { - "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": 169, - "end": 394, + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 751, + "end": 754, "loc": { "start": { - "line": 8, - "column": 0 + "line": 27, + "column": 21 }, "end": { - "line": 15, - "column": 3 + "line": 27, + "column": 24 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 395, - "end": 400, + "value": "undefined", + "start": 755, + "end": 764, "loc": { "start": { - "line": 16, - "column": 0 + "line": 27, + "column": 25 }, "end": { - "line": 16, - "column": 5 + "line": 27, + "column": 34 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3736,45 +6049,41 @@ "postfix": false, "binop": null }, - "value": "LongCountFactory", - "start": 401, - "end": 417, + "start": 764, + "end": 765, "loc": { "start": { - "line": 16, - "column": 6 + "line": 27, + "column": 34 }, "end": { - "line": 16, - "column": 22 + "line": 27, + "column": 35 } } }, { "type": { - "label": "extends", - "keyword": "extends", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "extends", - "start": 418, - "end": 425, + "start": 766, + "end": 767, "loc": { "start": { - "line": 16, - "column": 23 + "line": 27, + "column": 36 }, "end": { - "line": 16, - "column": 30 + "line": 27, + "column": 37 } } }, @@ -3790,24 +6099,50 @@ "postfix": false, "binop": null }, - "value": "Factory", - "start": 426, - "end": 433, + "value": "parts", + "start": 778, + "end": 783, "loc": { "start": { - "line": 16, - "column": 31 + "line": 28, + "column": 10 }, "end": { - "line": 16, - "column": 38 + "line": 28, + "column": 15 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 783, + "end": 784, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3816,89 +6151,76 @@ "postfix": false, "binop": null }, - "start": 434, - "end": 435, - "loc": { - "start": { - "line": 16, - "column": 39 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "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": 438, - "end": 587, + "value": "i", + "start": 784, + "end": 785, "loc": { "start": { - "line": 17, - "column": 2 + "line": 28, + "column": 16 }, "end": { - "line": 21, - "column": 5 + "line": 28, + "column": 17 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 590, - "end": 595, + "start": 785, + "end": 786, "loc": { "start": { - "line": 22, - "column": 2 + "line": 28, + "column": 17 }, "end": { - "line": 22, - "column": 7 + "line": 28, + "column": 18 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 595, - "end": 596, + "value": "=", + "start": 787, + "end": 788, "loc": { "start": { - "line": 22, - "column": 7 + "line": 28, + "column": 19 }, "end": { - "line": 22, - "column": 8 + "line": 28, + "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3906,52 +6228,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "raw", - "start": 596, - "end": 599, + "value": "0", + "start": 789, + "end": 792, "loc": { "start": { - "line": 22, - "column": 8 + "line": 28, + "column": 21 }, "end": { - "line": 22, - "column": 11 + "line": 28, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 599, - "end": 600, + "start": 792, + "end": 793, "loc": { "start": { - "line": 22, - "column": 11 + "line": 28, + "column": 24 }, "end": { - "line": 22, - "column": 12 + "line": 28, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3959,23 +6283,22 @@ "postfix": false, "binop": null }, - "start": 601, - "end": 602, + "start": 802, + "end": 803, "loc": { "start": { - "line": 22, - "column": 13 + "line": 29, + "column": 8 }, "end": { - "line": 22, - "column": 14 + "line": 29, + "column": 9 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3983,19 +6306,17 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 607, - "end": 610, + "start": 810, + "end": 811, "loc": { "start": { - "line": 23, - "column": 4 + "line": 30, + "column": 6 }, "end": { - "line": 23, + "line": 30, "column": 7 } } @@ -4013,16 +6334,16 @@ "binop": null }, "value": "parts", - "start": 611, - "end": 616, + "start": 818, + "end": 823, "loc": { "start": { - "line": 23, - "column": 8 + "line": 31, + "column": 6 }, "end": { - "line": 23, - "column": 13 + "line": 31, + "column": 11 } } }, @@ -4040,16 +6361,16 @@ "updateContext": null }, "value": "=", - "start": 617, - "end": 618, + "start": 824, + "end": 825, "loc": { "start": { - "line": 23, - "column": 14 + "line": 31, + "column": 12 }, "end": { - "line": 23, - "column": 15 + "line": 31, + "column": 13 } } }, @@ -4065,16 +6386,16 @@ "postfix": false, "binop": null }, - "value": "raw", - "start": 619, - "end": 622, + "value": "parts", + "start": 826, + "end": 831, "loc": { "start": { - "line": 23, - "column": 16 + "line": 31, + "column": 14 }, "end": { - "line": 23, + "line": 31, "column": 19 } } @@ -4092,15 +6413,15 @@ "binop": null, "updateContext": null }, - "start": 622, - "end": 623, + "start": 831, + "end": 832, "loc": { "start": { - "line": 23, + "line": 31, "column": 19 }, "end": { - "line": 23, + "line": 31, "column": 20 } } @@ -4117,17 +6438,17 @@ "postfix": false, "binop": null }, - "value": "split", - "start": 623, - "end": 628, + "value": "reverse", + "start": 832, + "end": 839, "loc": { "start": { - "line": 23, + "line": 31, "column": 20 }, "end": { - "line": 23, - "column": 25 + "line": 31, + "column": 27 } } }, @@ -4143,94 +6464,92 @@ "postfix": false, "binop": null }, - "start": 628, - "end": 629, + "start": 839, + "end": 840, "loc": { "start": { - "line": 23, - "column": 25 + "line": 31, + "column": 27 }, "end": { - "line": 23, - "column": 26 + "line": 31, + "column": 28 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": ".", - "start": 629, - "end": 632, + "start": 840, + "end": 841, "loc": { "start": { - "line": 23, - "column": 26 + "line": 31, + "column": 28 }, "end": { - "line": 23, + "line": 31, "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 632, - "end": 633, + "start": 841, + "end": 842, "loc": { "start": { - "line": 23, + "line": 31, "column": 29 }, "end": { - "line": 23, + "line": 31, "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 633, - "end": 634, + "start": 847, + "end": 848, "loc": { "start": { - "line": 23, - "column": 30 + "line": 32, + "column": 4 }, "end": { - "line": 23, - "column": 31 + "line": 32, + "column": 5 } } }, @@ -4249,15 +6568,15 @@ "updateContext": null }, "value": "for", - "start": 639, - "end": 642, + "start": 853, + "end": 856, "loc": { "start": { - "line": 24, + "line": 33, "column": 4 }, "end": { - "line": 24, + "line": 33, "column": 7 } } @@ -4274,15 +6593,15 @@ "postfix": false, "binop": null }, - "start": 643, - "end": 644, + "start": 857, + "end": 858, "loc": { "start": { - "line": 24, + "line": 33, "column": 8 }, "end": { - "line": 24, + "line": 33, "column": 9 } } @@ -4302,15 +6621,15 @@ "updateContext": null }, "value": "let", - "start": 644, - "end": 647, + "start": 858, + "end": 861, "loc": { "start": { - "line": 24, + "line": 33, "column": 9 }, "end": { - "line": 24, + "line": 33, "column": 12 } } @@ -4328,15 +6647,15 @@ "binop": null }, "value": "i", - "start": 648, - "end": 649, + "start": 862, + "end": 863, "loc": { "start": { - "line": 24, + "line": 33, "column": 13 }, "end": { - "line": 24, + "line": 33, "column": 14 } } @@ -4355,15 +6674,15 @@ "updateContext": null }, "value": "=", - "start": 650, - "end": 651, + "start": 864, + "end": 865, "loc": { "start": { - "line": 24, + "line": 33, "column": 15 }, "end": { - "line": 24, + "line": 33, "column": 16 } } @@ -4382,15 +6701,15 @@ "updateContext": null }, "value": 0, - "start": 652, - "end": 653, + "start": 866, + "end": 867, "loc": { "start": { - "line": 24, + "line": 33, "column": 17 }, "end": { - "line": 24, + "line": 33, "column": 18 } } @@ -4408,15 +6727,15 @@ "binop": null, "updateContext": null }, - "start": 653, - "end": 654, + "start": 867, + "end": 868, "loc": { "start": { - "line": 24, + "line": 33, "column": 18 }, "end": { - "line": 24, + "line": 33, "column": 19 } } @@ -4434,15 +6753,15 @@ "binop": null }, "value": "i", - "start": 655, - "end": 656, + "start": 869, + "end": 870, "loc": { "start": { - "line": 24, + "line": 33, "column": 20 }, "end": { - "line": 24, + "line": 33, "column": 21 } } @@ -4461,15 +6780,15 @@ "updateContext": null }, "value": "<", - "start": 657, - "end": 658, + "start": 871, + "end": 872, "loc": { "start": { - "line": 24, + "line": 33, "column": 22 }, "end": { - "line": 24, + "line": 33, "column": 23 } } @@ -4487,15 +6806,15 @@ "binop": null }, "value": "parts", - "start": 659, - "end": 664, + "start": 873, + "end": 878, "loc": { "start": { - "line": 24, + "line": 33, "column": 24 }, "end": { - "line": 24, + "line": 33, "column": 29 } } @@ -4513,15 +6832,15 @@ "binop": null, "updateContext": null }, - "start": 664, - "end": 665, + "start": 878, + "end": 879, "loc": { "start": { - "line": 24, + "line": 33, "column": 29 }, "end": { - "line": 24, + "line": 33, "column": 30 } } @@ -4539,15 +6858,15 @@ "binop": null }, "value": "length", - "start": 665, - "end": 671, + "start": 879, + "end": 885, "loc": { "start": { - "line": 24, + "line": 33, "column": 30 }, "end": { - "line": 24, + "line": 33, "column": 36 } } @@ -4565,15 +6884,15 @@ "binop": null, "updateContext": null }, - "start": 671, - "end": 672, + "start": 885, + "end": 886, "loc": { "start": { - "line": 24, + "line": 33, "column": 36 }, "end": { - "line": 24, + "line": 33, "column": 37 } } @@ -4591,15 +6910,15 @@ "binop": null }, "value": "i", - "start": 673, - "end": 674, + "start": 887, + "end": 888, "loc": { "start": { - "line": 24, + "line": 33, "column": 38 }, "end": { - "line": 24, + "line": 33, "column": 39 } } @@ -4617,15 +6936,15 @@ "binop": null }, "value": "++", - "start": 674, - "end": 676, + "start": 888, + "end": 890, "loc": { "start": { - "line": 24, + "line": 33, "column": 39 }, "end": { - "line": 24, + "line": 33, "column": 41 } } @@ -4642,15 +6961,15 @@ "postfix": false, "binop": null }, - "start": 676, - "end": 677, + "start": 890, + "end": 891, "loc": { "start": { - "line": 24, + "line": 33, "column": 41 }, "end": { - "line": 24, + "line": 33, "column": 42 } } @@ -4667,15 +6986,15 @@ "postfix": false, "binop": null }, - "start": 678, - "end": 679, + "start": 892, + "end": 893, "loc": { "start": { - "line": 24, + "line": 33, "column": 43 }, "end": { - "line": 24, + "line": 33, "column": 44 } } @@ -4695,15 +7014,15 @@ "updateContext": null }, "value": "if", - "start": 686, - "end": 688, + "start": 900, + "end": 902, "loc": { "start": { - "line": 25, + "line": 34, "column": 6 }, "end": { - "line": 25, + "line": 34, "column": 8 } } @@ -4720,15 +7039,15 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 903, + "end": 904, "loc": { "start": { - "line": 25, + "line": 34, "column": 9 }, "end": { - "line": 25, + "line": 34, "column": 10 } } @@ -4746,15 +7065,15 @@ "binop": null }, "value": "i", - "start": 690, - "end": 691, + "start": 904, + "end": 905, "loc": { "start": { - "line": 25, + "line": 34, "column": 10 }, "end": { - "line": 25, + "line": 34, "column": 11 } } @@ -4773,15 +7092,15 @@ "updateContext": null }, "value": "===", - "start": 692, - "end": 695, + "start": 906, + "end": 909, "loc": { "start": { - "line": 25, + "line": 34, "column": 12 }, "end": { - "line": 25, + "line": 34, "column": 15 } } @@ -4800,15 +7119,15 @@ "updateContext": null }, "value": 0, - "start": 696, - "end": 697, + "start": 910, + "end": 911, "loc": { "start": { - "line": 25, + "line": 34, "column": 16 }, "end": { - "line": 25, + "line": 34, "column": 17 } } @@ -4825,15 +7144,15 @@ "postfix": false, "binop": null }, - "start": 697, - "end": 698, + "start": 911, + "end": 912, "loc": { "start": { - "line": 25, + "line": 34, "column": 17 }, "end": { - "line": 25, + "line": 34, "column": 18 } } @@ -4850,15 +7169,15 @@ "postfix": false, "binop": null }, - "start": 699, - "end": 700, + "start": 913, + "end": 914, "loc": { "start": { - "line": 25, + "line": 34, "column": 19 }, "end": { - "line": 25, + "line": 34, "column": 20 } } @@ -4878,15 +7197,15 @@ "updateContext": null }, "value": "if", - "start": 709, - "end": 711, + "start": 923, + "end": 925, "loc": { "start": { - "line": 26, + "line": 35, "column": 8 }, "end": { - "line": 26, + "line": 35, "column": 10 } } @@ -4903,15 +7222,15 @@ "postfix": false, "binop": null }, - "start": 712, - "end": 713, + "start": 926, + "end": 927, "loc": { "start": { - "line": 26, + "line": 35, "column": 11 }, "end": { - "line": 26, + "line": 35, "column": 12 } } @@ -4929,15 +7248,15 @@ "binop": null }, "value": "parts", - "start": 713, - "end": 718, + "start": 927, + "end": 932, "loc": { "start": { - "line": 26, + "line": 35, "column": 12 }, "end": { - "line": 26, + "line": 35, "column": 17 } } @@ -4955,15 +7274,15 @@ "binop": null, "updateContext": null }, - "start": 718, - "end": 719, + "start": 932, + "end": 933, "loc": { "start": { - "line": 26, + "line": 35, "column": 17 }, "end": { - "line": 26, + "line": 35, "column": 18 } } @@ -4981,15 +7300,15 @@ "binop": null }, "value": "i", - "start": 719, - "end": 720, + "start": 933, + "end": 934, "loc": { "start": { - "line": 26, + "line": 35, "column": 18 }, "end": { - "line": 26, + "line": 35, "column": 19 } } @@ -5007,15 +7326,15 @@ "binop": null, "updateContext": null }, - "start": 720, - "end": 721, + "start": 934, + "end": 935, "loc": { "start": { - "line": 26, + "line": 35, "column": 19 }, "end": { - "line": 26, + "line": 35, "column": 20 } } @@ -5033,15 +7352,15 @@ "binop": null, "updateContext": null }, - "start": 721, - "end": 722, + "start": 935, + "end": 936, "loc": { "start": { - "line": 26, + "line": 35, "column": 20 }, "end": { - "line": 26, + "line": 35, "column": 21 } } @@ -5059,15 +7378,15 @@ "binop": null }, "value": "indexOf", - "start": 722, - "end": 729, + "start": 936, + "end": 943, "loc": { "start": { - "line": 26, + "line": 35, "column": 21 }, "end": { - "line": 26, + "line": 35, "column": 28 } } @@ -5084,15 +7403,15 @@ "postfix": false, "binop": null }, - "start": 729, - "end": 730, + "start": 943, + "end": 944, "loc": { "start": { - "line": 26, + "line": 35, "column": 28 }, "end": { - "line": 26, + "line": 35, "column": 29 } } @@ -5111,15 +7430,15 @@ "updateContext": null }, "value": " ", - "start": 730, - "end": 733, + "start": 944, + "end": 947, "loc": { "start": { - "line": 26, + "line": 35, "column": 29 }, "end": { - "line": 26, + "line": 35, "column": 32 } } @@ -5136,15 +7455,15 @@ "postfix": false, "binop": null }, - "start": 733, - "end": 734, + "start": 947, + "end": 948, "loc": { "start": { - "line": 26, + "line": 35, "column": 32 }, "end": { - "line": 26, + "line": 35, "column": 33 } } @@ -5163,15 +7482,15 @@ "updateContext": null }, "value": ">=", - "start": 735, - "end": 737, + "start": 949, + "end": 951, "loc": { "start": { - "line": 26, + "line": 35, "column": 34 }, "end": { - "line": 26, + "line": 35, "column": 36 } } @@ -5190,15 +7509,15 @@ "updateContext": null }, "value": 0, - "start": 738, - "end": 739, + "start": 952, + "end": 953, "loc": { "start": { - "line": 26, + "line": 35, "column": 37 }, "end": { - "line": 26, + "line": 35, "column": 38 } } @@ -5215,15 +7534,15 @@ "postfix": false, "binop": null }, - "start": 739, - "end": 740, + "start": 953, + "end": 954, "loc": { "start": { - "line": 26, + "line": 35, "column": 38 }, "end": { - "line": 26, + "line": 35, "column": 39 } } @@ -5240,15 +7559,15 @@ "postfix": false, "binop": null }, - "start": 741, - "end": 742, + "start": 955, + "end": 956, "loc": { "start": { - "line": 26, + "line": 35, "column": 40 }, "end": { - "line": 26, + "line": 35, "column": 41 } } @@ -5268,15 +7587,15 @@ "updateContext": null }, "value": "let", - "start": 753, - "end": 756, + "start": 967, + "end": 970, "loc": { "start": { - "line": 27, + "line": 36, "column": 10 }, "end": { - "line": 27, + "line": 36, "column": 13 } } @@ -5294,15 +7613,15 @@ "binop": null }, "value": "first_parts", - "start": 757, - "end": 768, + "start": 971, + "end": 982, "loc": { "start": { - "line": 27, + "line": 36, "column": 14 }, "end": { - "line": 27, + "line": 36, "column": 25 } } @@ -5321,15 +7640,15 @@ "updateContext": null }, "value": "=", - "start": 769, - "end": 770, + "start": 983, + "end": 984, "loc": { "start": { - "line": 27, + "line": 36, "column": 26 }, "end": { - "line": 27, + "line": 36, "column": 27 } } @@ -5347,15 +7666,15 @@ "binop": null }, "value": "parts", - "start": 771, - "end": 776, + "start": 985, + "end": 990, "loc": { "start": { - "line": 27, + "line": 36, "column": 28 }, "end": { - "line": 27, + "line": 36, "column": 33 } } @@ -5373,15 +7692,15 @@ "binop": null, "updateContext": null }, - "start": 776, - "end": 777, + "start": 990, + "end": 991, "loc": { "start": { - "line": 27, + "line": 36, "column": 33 }, "end": { - "line": 27, + "line": 36, "column": 34 } } @@ -5399,15 +7718,15 @@ "binop": null }, "value": "i", - "start": 777, - "end": 778, + "start": 991, + "end": 992, "loc": { "start": { - "line": 27, + "line": 36, "column": 34 }, "end": { - "line": 27, + "line": 36, "column": 35 } } @@ -5425,15 +7744,15 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "start": 992, + "end": 993, "loc": { "start": { - "line": 27, + "line": 36, "column": 35 }, "end": { - "line": 27, + "line": 36, "column": 36 } } @@ -5451,15 +7770,15 @@ "binop": null, "updateContext": null }, - "start": 779, - "end": 780, + "start": 993, + "end": 994, "loc": { "start": { - "line": 27, + "line": 36, "column": 36 }, "end": { - "line": 27, + "line": 36, "column": 37 } } @@ -5477,15 +7796,15 @@ "binop": null }, "value": "split", - "start": 780, - "end": 785, + "start": 994, + "end": 999, "loc": { "start": { - "line": 27, + "line": 36, "column": 37 }, "end": { - "line": 27, + "line": 36, "column": 42 } } @@ -5502,15 +7821,15 @@ "postfix": false, "binop": null }, - "start": 785, - "end": 786, + "start": 999, + "end": 1000, "loc": { "start": { - "line": 27, + "line": 36, "column": 42 }, "end": { - "line": 27, + "line": 36, "column": 43 } } @@ -5529,15 +7848,15 @@ "updateContext": null }, "value": " ", - "start": 786, - "end": 789, + "start": 1000, + "end": 1003, "loc": { "start": { - "line": 27, + "line": 36, "column": 43 }, "end": { - "line": 27, + "line": 36, "column": 46 } } @@ -5554,15 +7873,15 @@ "postfix": false, "binop": null }, - "start": 789, - "end": 790, + "start": 1003, + "end": 1004, "loc": { "start": { - "line": 27, + "line": 36, "column": 46 }, "end": { - "line": 27, + "line": 36, "column": 47 } } @@ -5580,15 +7899,15 @@ "binop": null, "updateContext": null }, - "start": 790, - "end": 791, + "start": 1004, + "end": 1005, "loc": { "start": { - "line": 27, + "line": 36, "column": 47 }, "end": { - "line": 27, + "line": 36, "column": 48 } } @@ -5606,15 +7925,15 @@ "binop": null }, "value": "parts", - "start": 802, - "end": 807, + "start": 1016, + "end": 1021, "loc": { "start": { - "line": 28, + "line": 37, "column": 10 }, "end": { - "line": 28, + "line": 37, "column": 15 } } @@ -5632,15 +7951,15 @@ "binop": null, "updateContext": null }, - "start": 807, - "end": 808, + "start": 1021, + "end": 1022, "loc": { "start": { - "line": 28, + "line": 37, "column": 15 }, "end": { - "line": 28, + "line": 37, "column": 16 } } @@ -5658,15 +7977,15 @@ "binop": null }, "value": "i", - "start": 808, - "end": 809, + "start": 1022, + "end": 1023, "loc": { "start": { - "line": 28, + "line": 37, "column": 16 }, "end": { - "line": 28, + "line": 37, "column": 17 } } @@ -5684,15 +8003,15 @@ "binop": null, "updateContext": null }, - "start": 809, - "end": 810, + "start": 1023, + "end": 1024, "loc": { "start": { - "line": 28, + "line": 37, "column": 17 }, "end": { - "line": 28, + "line": 37, "column": 18 } } @@ -5711,15 +8030,15 @@ "updateContext": null }, "value": "=", - "start": 811, - "end": 812, + "start": 1025, + "end": 1026, "loc": { "start": { - "line": 28, + "line": 37, "column": 19 }, "end": { - "line": 28, + "line": 37, "column": 20 } } @@ -5737,15 +8056,15 @@ "binop": null }, "value": "first_parts", - "start": 813, - "end": 824, + "start": 1027, + "end": 1038, "loc": { "start": { - "line": 28, + "line": 37, "column": 21 }, "end": { - "line": 28, + "line": 37, "column": 32 } } @@ -5763,15 +8082,15 @@ "binop": null, "updateContext": null }, - "start": 824, - "end": 825, + "start": 1038, + "end": 1039, "loc": { "start": { - "line": 28, + "line": 37, "column": 32 }, "end": { - "line": 28, + "line": 37, "column": 33 } } @@ -5789,15 +8108,15 @@ "binop": null }, "value": "first_parts", - "start": 825, - "end": 836, + "start": 1039, + "end": 1050, "loc": { "start": { - "line": 28, + "line": 37, "column": 33 }, "end": { - "line": 28, + "line": 37, "column": 44 } } @@ -5815,15 +8134,15 @@ "binop": null, "updateContext": null }, - "start": 836, - "end": 837, + "start": 1050, + "end": 1051, "loc": { "start": { - "line": 28, + "line": 37, "column": 44 }, "end": { - "line": 28, + "line": 37, "column": 45 } } @@ -5841,15 +8160,15 @@ "binop": null }, "value": "length", - "start": 837, - "end": 843, + "start": 1051, + "end": 1057, "loc": { "start": { - "line": 28, + "line": 37, "column": 45 }, "end": { - "line": 28, + "line": 37, "column": 51 } } @@ -5868,15 +8187,15 @@ "updateContext": null }, "value": "-", - "start": 844, - "end": 845, + "start": 1058, + "end": 1059, "loc": { "start": { - "line": 28, + "line": 37, "column": 52 }, "end": { - "line": 28, + "line": 37, "column": 53 } } @@ -5895,15 +8214,15 @@ "updateContext": null }, "value": 1, - "start": 846, - "end": 847, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 28, + "line": 37, "column": 54 }, "end": { - "line": 28, + "line": 37, "column": 55 } } @@ -5921,15 +8240,15 @@ "binop": null, "updateContext": null }, - "start": 847, - "end": 848, + "start": 1061, + "end": 1062, "loc": { "start": { - "line": 28, + "line": 37, "column": 55 }, "end": { - "line": 28, + "line": 37, "column": 56 } } @@ -5947,15 +8266,15 @@ "binop": null, "updateContext": null }, - "start": 848, - "end": 849, + "start": 1062, + "end": 1063, "loc": { "start": { - "line": 28, + "line": 37, "column": 56 }, "end": { - "line": 28, + "line": 37, "column": 57 } } @@ -5972,15 +8291,15 @@ "postfix": false, "binop": null }, - "start": 858, - "end": 859, + "start": 1072, + "end": 1073, "loc": { "start": { - "line": 29, + "line": 38, "column": 8 }, "end": { - "line": 29, + "line": 38, "column": 9 } } @@ -5997,15 +8316,15 @@ "postfix": false, "binop": null }, - "start": 866, - "end": 867, + "start": 1080, + "end": 1081, "loc": { "start": { - "line": 30, + "line": 39, "column": 6 }, "end": { - "line": 30, + "line": 39, "column": 7 } } @@ -6025,15 +8344,15 @@ "updateContext": null }, "value": "else", - "start": 868, - "end": 872, + "start": 1082, + "end": 1086, "loc": { "start": { - "line": 30, + "line": 39, "column": 8 }, "end": { - "line": 30, + "line": 39, "column": 12 } } @@ -6053,15 +8372,15 @@ "updateContext": null }, "value": "if", - "start": 873, - "end": 875, + "start": 1087, + "end": 1089, "loc": { "start": { - "line": 30, + "line": 39, "column": 13 }, "end": { - "line": 30, + "line": 39, "column": 15 } } @@ -6078,15 +8397,15 @@ "postfix": false, "binop": null }, - "start": 876, - "end": 877, + "start": 1090, + "end": 1091, "loc": { "start": { - "line": 30, + "line": 39, "column": 16 }, "end": { - "line": 30, + "line": 39, "column": 17 } } @@ -6104,15 +8423,15 @@ "binop": null }, "value": "i", - "start": 877, - "end": 878, + "start": 1091, + "end": 1092, "loc": { "start": { - "line": 30, + "line": 39, "column": 17 }, "end": { - "line": 30, + "line": 39, "column": 18 } } @@ -6131,15 +8450,15 @@ "updateContext": null }, "value": "===", - "start": 879, - "end": 882, + "start": 1093, + "end": 1096, "loc": { "start": { - "line": 30, + "line": 39, "column": 19 }, "end": { - "line": 30, + "line": 39, "column": 22 } } @@ -6156,15 +8475,15 @@ "postfix": false, "binop": null }, - "start": 883, - "end": 884, + "start": 1097, + "end": 1098, "loc": { "start": { - "line": 30, + "line": 39, "column": 23 }, "end": { - "line": 30, + "line": 39, "column": 24 } } @@ -6182,15 +8501,15 @@ "binop": null }, "value": "parts", - "start": 884, - "end": 889, + "start": 1098, + "end": 1103, "loc": { "start": { - "line": 30, + "line": 39, "column": 24 }, "end": { - "line": 30, + "line": 39, "column": 29 } } @@ -6208,15 +8527,15 @@ "binop": null, "updateContext": null }, - "start": 889, - "end": 890, + "start": 1103, + "end": 1104, "loc": { "start": { - "line": 30, + "line": 39, "column": 29 }, "end": { - "line": 30, + "line": 39, "column": 30 } } @@ -6234,15 +8553,15 @@ "binop": null }, "value": "length", - "start": 890, - "end": 896, + "start": 1104, + "end": 1110, "loc": { "start": { - "line": 30, + "line": 39, "column": 30 }, "end": { - "line": 30, + "line": 39, "column": 36 } } @@ -6261,15 +8580,15 @@ "updateContext": null }, "value": "-", - "start": 897, - "end": 898, + "start": 1111, + "end": 1112, "loc": { "start": { - "line": 30, + "line": 39, "column": 37 }, "end": { - "line": 30, + "line": 39, "column": 38 } } @@ -6288,15 +8607,15 @@ "updateContext": null }, "value": 1, - "start": 899, - "end": 900, + "start": 1113, + "end": 1114, "loc": { "start": { - "line": 30, + "line": 39, "column": 39 }, "end": { - "line": 30, + "line": 39, "column": 40 } } @@ -6313,15 +8632,15 @@ "postfix": false, "binop": null }, - "start": 900, - "end": 901, + "start": 1114, + "end": 1115, "loc": { "start": { - "line": 30, + "line": 39, "column": 40 }, "end": { - "line": 30, + "line": 39, "column": 41 } } @@ -6338,15 +8657,15 @@ "postfix": false, "binop": null }, - "start": 901, - "end": 902, + "start": 1115, + "end": 1116, "loc": { "start": { - "line": 30, + "line": 39, "column": 41 }, "end": { - "line": 30, + "line": 39, "column": 42 } } @@ -6363,15 +8682,15 @@ "postfix": false, "binop": null }, - "start": 903, - "end": 904, + "start": 1117, + "end": 1118, "loc": { "start": { - "line": 30, + "line": 39, "column": 43 }, "end": { - "line": 30, + "line": 39, "column": 44 } } @@ -6391,15 +8710,15 @@ "updateContext": null }, "value": "if", - "start": 913, - "end": 915, + "start": 1127, + "end": 1129, "loc": { "start": { - "line": 31, + "line": 40, "column": 8 }, "end": { - "line": 31, + "line": 40, "column": 10 } } @@ -6416,15 +8735,15 @@ "postfix": false, "binop": null }, - "start": 916, - "end": 917, + "start": 1130, + "end": 1131, "loc": { "start": { - "line": 31, + "line": 40, "column": 11 }, "end": { - "line": 31, + "line": 40, "column": 12 } } @@ -6442,15 +8761,15 @@ "binop": null }, "value": "parts", - "start": 917, - "end": 922, + "start": 1131, + "end": 1136, "loc": { "start": { - "line": 31, + "line": 40, "column": 12 }, "end": { - "line": 31, + "line": 40, "column": 17 } } @@ -6468,15 +8787,15 @@ "binop": null, "updateContext": null }, - "start": 922, - "end": 923, + "start": 1136, + "end": 1137, "loc": { "start": { - "line": 31, + "line": 40, "column": 17 }, "end": { - "line": 31, + "line": 40, "column": 18 } } @@ -6494,15 +8813,15 @@ "binop": null }, "value": "i", - "start": 923, - "end": 924, + "start": 1137, + "end": 1138, "loc": { "start": { - "line": 31, + "line": 40, "column": 18 }, "end": { - "line": 31, + "line": 40, "column": 19 } } @@ -6520,15 +8839,15 @@ "binop": null, "updateContext": null }, - "start": 924, - "end": 925, + "start": 1138, + "end": 1139, "loc": { "start": { - "line": 31, + "line": 40, "column": 19 }, "end": { - "line": 31, + "line": 40, "column": 20 } } @@ -6546,15 +8865,15 @@ "binop": null, "updateContext": null }, - "start": 925, - "end": 926, + "start": 1139, + "end": 1140, "loc": { "start": { - "line": 31, + "line": 40, "column": 20 }, "end": { - "line": 31, + "line": 40, "column": 21 } } @@ -6572,15 +8891,15 @@ "binop": null }, "value": "indexOf", - "start": 926, - "end": 933, + "start": 1140, + "end": 1147, "loc": { "start": { - "line": 31, + "line": 40, "column": 21 }, "end": { - "line": 31, + "line": 40, "column": 28 } } @@ -6597,15 +8916,15 @@ "postfix": false, "binop": null }, - "start": 933, - "end": 934, + "start": 1147, + "end": 1148, "loc": { "start": { - "line": 31, + "line": 40, "column": 28 }, "end": { - "line": 31, + "line": 40, "column": 29 } } @@ -6624,15 +8943,15 @@ "updateContext": null }, "value": " ", - "start": 934, - "end": 937, + "start": 1148, + "end": 1151, "loc": { "start": { - "line": 31, + "line": 40, "column": 29 }, "end": { - "line": 31, + "line": 40, "column": 32 } } @@ -6649,15 +8968,15 @@ "postfix": false, "binop": null }, - "start": 937, - "end": 938, + "start": 1151, + "end": 1152, "loc": { "start": { - "line": 31, + "line": 40, "column": 32 }, "end": { - "line": 31, + "line": 40, "column": 33 } } @@ -6676,15 +8995,15 @@ "updateContext": null }, "value": ">=", - "start": 939, - "end": 941, + "start": 1153, + "end": 1155, "loc": { "start": { - "line": 31, + "line": 40, "column": 34 }, "end": { - "line": 31, + "line": 40, "column": 36 } } @@ -6703,15 +9022,15 @@ "updateContext": null }, "value": 0, - "start": 942, - "end": 943, + "start": 1156, + "end": 1157, "loc": { "start": { - "line": 31, + "line": 40, "column": 37 }, "end": { - "line": 31, + "line": 40, "column": 38 } } @@ -6728,15 +9047,15 @@ "postfix": false, "binop": null }, - "start": 943, - "end": 944, + "start": 1157, + "end": 1158, "loc": { "start": { - "line": 31, + "line": 40, "column": 38 }, "end": { - "line": 31, + "line": 40, "column": 39 } } @@ -6753,15 +9072,15 @@ "postfix": false, "binop": null }, - "start": 945, - "end": 946, + "start": 1159, + "end": 1160, "loc": { "start": { - "line": 31, + "line": 40, "column": 40 }, "end": { - "line": 31, + "line": 40, "column": 41 } } @@ -6781,15 +9100,15 @@ "updateContext": null }, "value": "let", - "start": 957, - "end": 960, + "start": 1171, + "end": 1174, "loc": { "start": { - "line": 32, + "line": 41, "column": 10 }, "end": { - "line": 32, + "line": 41, "column": 13 } } @@ -6807,15 +9126,15 @@ "binop": null }, "value": "first_parts", - "start": 961, - "end": 972, + "start": 1175, + "end": 1186, "loc": { "start": { - "line": 32, + "line": 41, "column": 14 }, "end": { - "line": 32, + "line": 41, "column": 25 } } @@ -6834,15 +9153,15 @@ "updateContext": null }, "value": "=", - "start": 973, - "end": 974, + "start": 1187, + "end": 1188, "loc": { "start": { - "line": 32, + "line": 41, "column": 26 }, "end": { - "line": 32, + "line": 41, "column": 27 } } @@ -6860,15 +9179,15 @@ "binop": null }, "value": "parts", - "start": 975, - "end": 980, + "start": 1189, + "end": 1194, "loc": { "start": { - "line": 32, + "line": 41, "column": 28 }, "end": { - "line": 32, + "line": 41, "column": 33 } } @@ -6886,15 +9205,15 @@ "binop": null, "updateContext": null }, - "start": 980, - "end": 981, + "start": 1194, + "end": 1195, "loc": { "start": { - "line": 32, + "line": 41, "column": 33 }, "end": { - "line": 32, + "line": 41, "column": 34 } } @@ -6912,15 +9231,15 @@ "binop": null }, "value": "i", - "start": 981, - "end": 982, + "start": 1195, + "end": 1196, "loc": { "start": { - "line": 32, + "line": 41, "column": 34 }, "end": { - "line": 32, + "line": 41, "column": 35 } } @@ -6938,15 +9257,15 @@ "binop": null, "updateContext": null }, - "start": 982, - "end": 983, + "start": 1196, + "end": 1197, "loc": { "start": { - "line": 32, + "line": 41, "column": 35 }, "end": { - "line": 32, + "line": 41, "column": 36 } } @@ -6964,15 +9283,15 @@ "binop": null, "updateContext": null }, - "start": 983, - "end": 984, + "start": 1197, + "end": 1198, "loc": { "start": { - "line": 32, + "line": 41, "column": 36 }, "end": { - "line": 32, + "line": 41, "column": 37 } } @@ -6990,15 +9309,15 @@ "binop": null }, "value": "split", - "start": 984, - "end": 989, + "start": 1198, + "end": 1203, "loc": { "start": { - "line": 32, + "line": 41, "column": 37 }, "end": { - "line": 32, + "line": 41, "column": 42 } } @@ -7015,15 +9334,15 @@ "postfix": false, "binop": null }, - "start": 989, - "end": 990, + "start": 1203, + "end": 1204, "loc": { "start": { - "line": 32, + "line": 41, "column": 42 }, "end": { - "line": 32, + "line": 41, "column": 43 } } @@ -7042,15 +9361,15 @@ "updateContext": null }, "value": " ", - "start": 990, - "end": 993, + "start": 1204, + "end": 1207, "loc": { "start": { - "line": 32, + "line": 41, "column": 43 }, "end": { - "line": 32, + "line": 41, "column": 46 } } @@ -7067,15 +9386,15 @@ "postfix": false, "binop": null }, - "start": 993, - "end": 994, + "start": 1207, + "end": 1208, "loc": { "start": { - "line": 32, + "line": 41, "column": 46 }, "end": { - "line": 32, + "line": 41, "column": 47 } } @@ -7093,15 +9412,15 @@ "binop": null, "updateContext": null }, - "start": 994, - "end": 995, + "start": 1208, + "end": 1209, "loc": { "start": { - "line": 32, + "line": 41, "column": 47 }, "end": { - "line": 32, + "line": 41, "column": 48 } } @@ -7119,15 +9438,15 @@ "binop": null }, "value": "parts", - "start": 1006, - "end": 1011, + "start": 1220, + "end": 1225, "loc": { "start": { - "line": 33, + "line": 42, "column": 10 }, "end": { - "line": 33, + "line": 42, "column": 15 } } @@ -7145,15 +9464,15 @@ "binop": null, "updateContext": null }, - "start": 1011, - "end": 1012, + "start": 1225, + "end": 1226, "loc": { "start": { - "line": 33, + "line": 42, "column": 15 }, "end": { - "line": 33, + "line": 42, "column": 16 } } @@ -7171,15 +9490,15 @@ "binop": null }, "value": "i", - "start": 1012, - "end": 1013, + "start": 1226, + "end": 1227, "loc": { "start": { - "line": 33, + "line": 42, "column": 16 }, "end": { - "line": 33, + "line": 42, "column": 17 } } @@ -7197,15 +9516,15 @@ "binop": null, "updateContext": null }, - "start": 1013, - "end": 1014, + "start": 1227, + "end": 1228, "loc": { "start": { - "line": 33, + "line": 42, "column": 17 }, "end": { - "line": 33, + "line": 42, "column": 18 } } @@ -7224,15 +9543,15 @@ "updateContext": null }, "value": "=", - "start": 1015, - "end": 1016, + "start": 1229, + "end": 1230, "loc": { "start": { - "line": 33, + "line": 42, "column": 19 }, "end": { - "line": 33, + "line": 42, "column": 20 } } @@ -7250,15 +9569,15 @@ "binop": null }, "value": "first_parts", - "start": 1017, - "end": 1028, + "start": 1231, + "end": 1242, "loc": { "start": { - "line": 33, + "line": 42, "column": 21 }, "end": { - "line": 33, + "line": 42, "column": 32 } } @@ -7276,15 +9595,15 @@ "binop": null, "updateContext": null }, - "start": 1028, - "end": 1029, + "start": 1242, + "end": 1243, "loc": { "start": { - "line": 33, + "line": 42, "column": 32 }, "end": { - "line": 33, + "line": 42, "column": 33 } } @@ -7303,15 +9622,15 @@ "updateContext": null }, "value": 0, - "start": 1029, - "end": 1030, + "start": 1243, + "end": 1244, "loc": { "start": { - "line": 33, + "line": 42, "column": 33 }, "end": { - "line": 33, + "line": 42, "column": 34 } } @@ -7329,15 +9648,15 @@ "binop": null, "updateContext": null }, - "start": 1030, - "end": 1031, + "start": 1244, + "end": 1245, "loc": { "start": { - "line": 33, + "line": 42, "column": 34 }, "end": { - "line": 33, + "line": 42, "column": 35 } } @@ -7355,15 +9674,15 @@ "binop": null, "updateContext": null }, - "start": 1031, - "end": 1032, + "start": 1245, + "end": 1246, "loc": { "start": { - "line": 33, + "line": 42, "column": 35 }, "end": { - "line": 33, + "line": 42, "column": 36 } } @@ -7380,15 +9699,15 @@ "postfix": false, "binop": null }, - "start": 1041, - "end": 1042, + "start": 1255, + "end": 1256, "loc": { "start": { - "line": 34, + "line": 43, "column": 8 }, "end": { - "line": 34, + "line": 43, "column": 9 } } @@ -7405,15 +9724,15 @@ "postfix": false, "binop": null }, - "start": 1049, - "end": 1050, + "start": 1263, + "end": 1264, "loc": { "start": { - "line": 35, + "line": 44, "column": 6 }, "end": { - "line": 35, + "line": 44, "column": 7 } } @@ -7433,15 +9752,15 @@ "updateContext": null }, "value": "if", - "start": 1057, - "end": 1059, + "start": 1271, + "end": 1273, "loc": { "start": { - "line": 36, + "line": 45, "column": 6 }, "end": { - "line": 36, + "line": 45, "column": 8 } } @@ -7458,15 +9777,15 @@ "postfix": false, "binop": null }, - "start": 1060, - "end": 1061, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 36, + "line": 45, "column": 9 }, "end": { - "line": 36, + "line": 45, "column": 10 } } @@ -7484,15 +9803,15 @@ "binop": null }, "value": "parts", - "start": 1061, - "end": 1066, + "start": 1275, + "end": 1280, "loc": { "start": { - "line": 36, + "line": 45, "column": 10 }, "end": { - "line": 36, + "line": 45, "column": 15 } } @@ -7510,15 +9829,15 @@ "binop": null, "updateContext": null }, - "start": 1066, - "end": 1067, + "start": 1280, + "end": 1281, "loc": { "start": { - "line": 36, + "line": 45, "column": 15 }, "end": { - "line": 36, + "line": 45, "column": 16 } } @@ -7536,15 +9855,15 @@ "binop": null }, "value": "i", - "start": 1067, - "end": 1068, + "start": 1281, + "end": 1282, "loc": { "start": { - "line": 36, + "line": 45, "column": 16 }, "end": { - "line": 36, + "line": 45, "column": 17 } } @@ -7562,15 +9881,15 @@ "binop": null, "updateContext": null }, - "start": 1068, - "end": 1069, + "start": 1282, + "end": 1283, "loc": { "start": { - "line": 36, + "line": 45, "column": 17 }, "end": { - "line": 36, + "line": 45, "column": 18 } } @@ -7589,15 +9908,15 @@ "updateContext": null }, "value": "===", - "start": 1070, - "end": 1073, + "start": 1284, + "end": 1287, "loc": { "start": { - "line": 36, + "line": 45, "column": 19 }, "end": { - "line": 36, + "line": 45, "column": 22 } } @@ -7616,15 +9935,15 @@ "updateContext": null }, "value": "*", - "start": 1074, - "end": 1077, + "start": 1288, + "end": 1291, "loc": { "start": { - "line": 36, + "line": 45, "column": 23 }, "end": { - "line": 36, + "line": 45, "column": 26 } } @@ -7641,15 +9960,15 @@ "postfix": false, "binop": null }, - "start": 1077, - "end": 1078, + "start": 1291, + "end": 1292, "loc": { "start": { - "line": 36, + "line": 45, "column": 26 }, "end": { - "line": 36, + "line": 45, "column": 27 } } @@ -7666,15 +9985,15 @@ "postfix": false, "binop": null }, - "start": 1079, - "end": 1080, + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 36, + "line": 45, "column": 28 }, "end": { - "line": 36, + "line": 45, "column": 29 } } @@ -7692,15 +10011,15 @@ "binop": null }, "value": "parts", - "start": 1089, - "end": 1094, + "start": 1303, + "end": 1308, "loc": { "start": { - "line": 37, + "line": 46, "column": 8 }, "end": { - "line": 37, + "line": 46, "column": 13 } } @@ -7718,15 +10037,15 @@ "binop": null, "updateContext": null }, - "start": 1094, - "end": 1095, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 37, + "line": 46, "column": 13 }, "end": { - "line": 37, + "line": 46, "column": 14 } } @@ -7744,15 +10063,15 @@ "binop": null }, "value": "i", - "start": 1095, - "end": 1096, + "start": 1309, + "end": 1310, "loc": { "start": { - "line": 37, + "line": 46, "column": 14 }, "end": { - "line": 37, + "line": 46, "column": 15 } } @@ -7770,15 +10089,15 @@ "binop": null, "updateContext": null }, - "start": 1096, - "end": 1097, + "start": 1310, + "end": 1311, "loc": { "start": { - "line": 37, + "line": 46, "column": 15 }, "end": { - "line": 37, + "line": 46, "column": 16 } } @@ -7797,15 +10116,15 @@ "updateContext": null }, "value": "=", - "start": 1098, - "end": 1099, + "start": 1312, + "end": 1313, "loc": { "start": { - "line": 37, + "line": 46, "column": 17 }, "end": { - "line": 37, + "line": 46, "column": 18 } } @@ -7823,15 +10142,15 @@ "binop": null }, "value": "wildcard", - "start": 1100, - "end": 1108, + "start": 1314, + "end": 1322, "loc": { "start": { - "line": 37, + "line": 46, "column": 19 }, "end": { - "line": 37, + "line": 46, "column": 27 } } @@ -7849,15 +10168,15 @@ "binop": null, "updateContext": null }, - "start": 1108, - "end": 1109, + "start": 1322, + "end": 1323, "loc": { "start": { - "line": 37, + "line": 46, "column": 27 }, "end": { - "line": 37, + "line": 46, "column": 28 } } @@ -7874,15 +10193,15 @@ "postfix": false, "binop": null }, - "start": 1116, - "end": 1117, + "start": 1330, + "end": 1331, "loc": { "start": { - "line": 38, + "line": 47, "column": 6 }, "end": { - "line": 38, + "line": 47, "column": 7 } } @@ -7902,15 +10221,15 @@ "updateContext": null }, "value": "else", - "start": 1118, - "end": 1122, + "start": 1332, + "end": 1336, "loc": { "start": { - "line": 38, + "line": 47, "column": 8 }, "end": { - "line": 38, + "line": 47, "column": 12 } } @@ -7927,15 +10246,15 @@ "postfix": false, "binop": null }, - "start": 1123, - "end": 1124, + "start": 1337, + "end": 1338, "loc": { "start": { - "line": 38, + "line": 47, "column": 13 }, "end": { - "line": 38, + "line": 47, "column": 14 } } @@ -7953,15 +10272,15 @@ "binop": null }, "value": "parts", - "start": 1133, - "end": 1138, + "start": 1347, + "end": 1352, "loc": { "start": { - "line": 39, + "line": 48, "column": 8 }, "end": { - "line": 39, + "line": 48, "column": 13 } } @@ -7979,15 +10298,15 @@ "binop": null, "updateContext": null }, - "start": 1138, - "end": 1139, + "start": 1352, + "end": 1353, "loc": { "start": { - "line": 39, + "line": 48, "column": 13 }, "end": { - "line": 39, + "line": 48, "column": 14 } } @@ -8005,15 +10324,15 @@ "binop": null }, "value": "i", - "start": 1139, - "end": 1140, + "start": 1353, + "end": 1354, "loc": { "start": { - "line": 39, + "line": 48, "column": 14 }, "end": { - "line": 39, + "line": 48, "column": 15 } } @@ -8031,15 +10350,15 @@ "binop": null, "updateContext": null }, - "start": 1140, - "end": 1141, + "start": 1354, + "end": 1355, "loc": { "start": { - "line": 39, + "line": 48, "column": 15 }, "end": { - "line": 39, + "line": 48, "column": 16 } } @@ -8058,15 +10377,15 @@ "updateContext": null }, "value": "=", - "start": 1142, - "end": 1143, + "start": 1356, + "end": 1357, "loc": { "start": { - "line": 39, + "line": 48, "column": 17 }, "end": { - "line": 39, + "line": 48, "column": 18 } } @@ -8084,15 +10403,15 @@ "binop": null }, "value": "parseInt", - "start": 1144, - "end": 1152, + "start": 1358, + "end": 1366, "loc": { "start": { - "line": 39, + "line": 48, "column": 19 }, "end": { - "line": 39, + "line": 48, "column": 27 } } @@ -8109,15 +10428,15 @@ "postfix": false, "binop": null }, - "start": 1152, - "end": 1153, + "start": 1366, + "end": 1367, "loc": { "start": { - "line": 39, + "line": 48, "column": 27 }, "end": { - "line": 39, + "line": 48, "column": 28 } } @@ -8135,15 +10454,15 @@ "binop": null }, "value": "parts", - "start": 1153, - "end": 1158, + "start": 1367, + "end": 1372, "loc": { "start": { - "line": 39, + "line": 48, "column": 28 }, "end": { - "line": 39, + "line": 48, "column": 33 } } @@ -8161,15 +10480,15 @@ "binop": null, "updateContext": null }, - "start": 1158, - "end": 1159, + "start": 1372, + "end": 1373, "loc": { "start": { - "line": 39, + "line": 48, "column": 33 }, "end": { - "line": 39, + "line": 48, "column": 34 } } @@ -8187,15 +10506,15 @@ "binop": null }, "value": "i", - "start": 1159, - "end": 1160, + "start": 1373, + "end": 1374, "loc": { "start": { - "line": 39, + "line": 48, "column": 34 }, "end": { - "line": 39, + "line": 48, "column": 35 } } @@ -8213,15 +10532,15 @@ "binop": null, "updateContext": null }, - "start": 1160, - "end": 1161, + "start": 1374, + "end": 1375, "loc": { "start": { - "line": 39, + "line": 48, "column": 35 }, "end": { - "line": 39, + "line": 48, "column": 36 } } @@ -8238,15 +10557,15 @@ "postfix": false, "binop": null }, - "start": 1161, - "end": 1162, + "start": 1375, + "end": 1376, "loc": { "start": { - "line": 39, + "line": 48, "column": 36 }, "end": { - "line": 39, + "line": 48, "column": 37 } } @@ -8264,15 +10583,15 @@ "binop": null, "updateContext": null }, - "start": 1162, - "end": 1163, + "start": 1376, + "end": 1377, "loc": { "start": { - "line": 39, + "line": 48, "column": 37 }, "end": { - "line": 39, + "line": 48, "column": 38 } } @@ -8289,15 +10608,15 @@ "postfix": false, "binop": null }, - "start": 1170, - "end": 1171, + "start": 1384, + "end": 1385, "loc": { "start": { - "line": 40, + "line": 49, "column": 6 }, "end": { - "line": 40, + "line": 49, "column": 7 } } @@ -8314,15 +10633,15 @@ "postfix": false, "binop": null }, - "start": 1176, - "end": 1177, + "start": 1390, + "end": 1391, "loc": { "start": { - "line": 41, + "line": 50, "column": 4 }, "end": { - "line": 41, + "line": 50, "column": 5 } } @@ -8342,15 +10661,15 @@ "updateContext": null }, "value": "return", - "start": 1182, - "end": 1188, + "start": 1396, + "end": 1402, "loc": { "start": { - "line": 42, + "line": 51, "column": 4 }, "end": { - "line": 42, + "line": 51, "column": 10 } } @@ -8370,15 +10689,15 @@ "updateContext": null }, "value": "new", - "start": 1189, - "end": 1192, + "start": 1403, + "end": 1406, "loc": { "start": { - "line": 42, + "line": 51, "column": 11 }, "end": { - "line": 42, + "line": 51, "column": 14 } } @@ -8396,15 +10715,15 @@ "binop": null }, "value": "LongCount", - "start": 1193, - "end": 1202, + "start": 1407, + "end": 1416, "loc": { "start": { - "line": 42, + "line": 51, "column": 15 }, "end": { - "line": 42, + "line": 51, "column": 24 } } @@ -8421,15 +10740,15 @@ "postfix": false, "binop": null }, - "start": 1202, - "end": 1203, + "start": 1416, + "end": 1417, "loc": { "start": { - "line": 42, + "line": 51, "column": 24 }, "end": { - "line": 42, + "line": 51, "column": 25 } } @@ -8447,15 +10766,15 @@ "binop": null, "updateContext": null }, - "start": 1203, - "end": 1206, + "start": 1417, + "end": 1420, "loc": { "start": { - "line": 42, + "line": 51, "column": 25 }, "end": { - "line": 42, + "line": 51, "column": 28 } } @@ -8473,15 +10792,15 @@ "binop": null }, "value": "parts", - "start": 1206, - "end": 1211, + "start": 1420, + "end": 1425, "loc": { "start": { - "line": 42, + "line": 51, "column": 28 }, "end": { - "line": 42, + "line": 51, "column": 33 } } @@ -8499,15 +10818,15 @@ "binop": null, "updateContext": null }, - "start": 1211, - "end": 1212, + "start": 1425, + "end": 1426, "loc": { "start": { - "line": 42, + "line": 51, "column": 33 }, "end": { - "line": 42, + "line": 51, "column": 34 } } @@ -8525,15 +10844,15 @@ "binop": null }, "value": "reverse", - "start": 1212, - "end": 1219, + "start": 1426, + "end": 1433, "loc": { "start": { - "line": 42, + "line": 51, "column": 34 }, "end": { - "line": 42, + "line": 51, "column": 41 } } @@ -8550,15 +10869,15 @@ "postfix": false, "binop": null }, - "start": 1219, - "end": 1220, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 42, + "line": 51, "column": 41 }, "end": { - "line": 42, + "line": 51, "column": 42 } } @@ -8575,15 +10894,15 @@ "postfix": false, "binop": null }, - "start": 1220, - "end": 1221, + "start": 1434, + "end": 1435, "loc": { "start": { - "line": 42, + "line": 51, "column": 42 }, "end": { - "line": 42, + "line": 51, "column": 43 } } @@ -8600,15 +10919,15 @@ "postfix": false, "binop": null }, - "start": 1221, - "end": 1222, + "start": 1435, + "end": 1436, "loc": { "start": { - "line": 42, + "line": 51, "column": 43 }, "end": { - "line": 42, + "line": 51, "column": 44 } } @@ -8626,15 +10945,15 @@ "binop": null, "updateContext": null }, - "start": 1222, - "end": 1223, + "start": 1436, + "end": 1437, "loc": { "start": { - "line": 42, + "line": 51, "column": 44 }, "end": { - "line": 42, + "line": 51, "column": 45 } } @@ -8651,15 +10970,15 @@ "postfix": false, "binop": null }, - "start": 1226, - "end": 1227, + "start": 1440, + "end": 1441, "loc": { "start": { - "line": 43, + "line": 52, "column": 2 }, "end": { - "line": 43, + "line": 52, "column": 3 } } @@ -8676,15 +10995,15 @@ "postfix": false, "binop": null }, - "start": 1228, - "end": 1229, + "start": 1442, + "end": 1443, "loc": { "start": { - "line": 44, + "line": 53, "column": 0 }, "end": { - "line": 44, + "line": 53, "column": 1 } } @@ -8702,15 +11021,15 @@ "binop": null }, "value": "module", - "start": 1231, - "end": 1237, + "start": 1445, + "end": 1451, "loc": { "start": { - "line": 46, + "line": 55, "column": 0 }, "end": { - "line": 46, + "line": 55, "column": 6 } } @@ -8728,15 +11047,15 @@ "binop": null, "updateContext": null }, - "start": 1237, - "end": 1238, + "start": 1451, + "end": 1452, "loc": { "start": { - "line": 46, + "line": 55, "column": 6 }, "end": { - "line": 46, + "line": 55, "column": 7 } } @@ -8754,15 +11073,15 @@ "binop": null }, "value": "exports", - "start": 1238, - "end": 1245, + "start": 1452, + "end": 1459, "loc": { "start": { - "line": 46, + "line": 55, "column": 7 }, "end": { - "line": 46, + "line": 55, "column": 14 } } @@ -8781,15 +11100,15 @@ "updateContext": null }, "value": "=", - "start": 1246, - "end": 1247, + "start": 1460, + "end": 1461, "loc": { "start": { - "line": 46, + "line": 55, "column": 15 }, "end": { - "line": 46, + "line": 55, "column": 16 } } @@ -8807,15 +11126,15 @@ "binop": null }, "value": "LongCountFactory", - "start": 1248, - "end": 1264, + "start": 1462, + "end": 1478, "loc": { "start": { - "line": 46, + "line": 55, "column": 17 }, "end": { - "line": 46, + "line": 55, "column": 33 } } @@ -8833,15 +11152,15 @@ "binop": null, "updateContext": null }, - "start": 1264, - "end": 1265, + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 46, + "line": 55, "column": 33 }, "end": { - "line": 46, + "line": 55, "column": 34 } } @@ -8859,15 +11178,15 @@ "binop": null, "updateContext": null }, - "start": 1266, - "end": 1266, + "start": 1480, + "end": 1480, "loc": { "start": { - "line": 47, + "line": 56, "column": 0 }, "end": { - "line": 47, + "line": 56, "column": 0 } } diff --git a/docs/ast/source/lc/long-count.js.json b/docs/ast/source/lc/long-count.js.json index 80516ba..3bd691e 100644 --- a/docs/ast/source/lc/long-count.js.json +++ b/docs/ast/source/lc/long-count.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 6220, + "end": 6515, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 316, + "line": 327, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 6220, + "end": 6515, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 316, + "line": 327, "column": 0 } }, @@ -632,14 +632,14 @@ { "type": "ClassDeclaration", "start": 266, - "end": 6190, + "end": 6485, "loc": { "start": { "line": 13, "column": 0 }, "end": { - "line": 313, + "line": 324, "column": 1 } }, @@ -665,14 +665,14 @@ "body": { "type": "ClassBody", "start": 282, - "end": 6190, + "end": 6485, "loc": { "start": { "line": 13, "column": 16 }, "end": { - "line": 313, + "line": 324, "column": 1 } }, @@ -1227,16 +1227,311 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", + "start": 772, + "end": 891, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 41, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 894, + "end": 949, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 44, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 894, + "end": 899, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 7 + }, + "identifierName": "equal" + }, + "name": "equal", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 900, + "end": 905, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 13 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "body": { + "type": "BlockStatement", + "start": 907, + "end": 949, + "loc": { + "start": { + "line": 42, + "column": 15 + }, + "end": { + "line": 44, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 913, + "end": 945, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 36 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 920, + "end": 944, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 35 + } + }, + "left": { + "type": "TemplateLiteral", + "start": 920, + "end": 929, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 20 + } + }, + "expressions": [ + { + "type": "ThisExpression", + "start": 923, + "end": 927, + "loc": { + "start": { + "line": 43, + "column": 14 + }, + "end": { + "line": 43, + "column": 18 + } + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 921, + "end": 921, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 12 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 928, + "end": 928, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 19 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "operator": "===", + "right": { + "type": "TemplateLiteral", + "start": 934, + "end": 944, + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 35 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 937, + "end": 942, + "loc": { + "start": { + "line": 43, + "column": 28 + }, + "end": { + "line": 43, + "column": 33 + }, + "identifierName": "other" + }, + "name": "other" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 935, + "end": 935, + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 26 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 943, + "end": 943, + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 43, + "column": 34 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", "start": 772, - "end": 857, + "end": 891, "loc": { "start": { "line": 37, "column": 2 }, "end": { - "line": 40, + "line": 41, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", + "start": 953, + "end": 1038, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 49, "column": 5 } } @@ -1245,15 +1540,15 @@ }, { "type": "ClassMethod", - "start": 860, - "end": 914, + "start": 1041, + "end": 1095, "loc": { "start": { - "line": 41, + "line": 50, "column": 2 }, "end": { - "line": 43, + "line": 52, "column": 3 } }, @@ -1261,15 +1556,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 860, - "end": 865, + "start": 1041, + "end": 1046, "loc": { "start": { - "line": 41, + "line": 50, "column": 2 }, "end": { - "line": 41, + "line": 50, "column": 7 }, "identifierName": "clone" @@ -1285,58 +1580,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 868, - "end": 914, + "start": 1049, + "end": 1095, "loc": { "start": { - "line": 41, + "line": 50, "column": 10 }, "end": { - "line": 43, + "line": 52, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 874, - "end": 910, + "start": 1055, + "end": 1091, "loc": { "start": { - "line": 42, + "line": 51, "column": 4 }, "end": { - "line": 42, + "line": 51, "column": 40 } }, "argument": { "type": "NewExpression", - "start": 881, - "end": 909, + "start": 1062, + "end": 1090, "loc": { "start": { - "line": 42, + "line": 51, "column": 11 }, "end": { - "line": 42, + "line": 51, "column": 39 } }, "callee": { "type": "Identifier", - "start": 885, - "end": 894, + "start": 1066, + "end": 1075, "loc": { "start": { - "line": 42, + "line": 51, "column": 15 }, "end": { - "line": 42, + "line": 51, "column": 24 }, "identifierName": "LongCount" @@ -1346,58 +1641,58 @@ "arguments": [ { "type": "SpreadElement", - "start": 895, - "end": 908, + "start": 1076, + "end": 1089, "loc": { "start": { - "line": 42, + "line": 51, "column": 25 }, "end": { - "line": 42, + "line": 51, "column": 38 } }, "argument": { "type": "MemberExpression", - "start": 898, - "end": 908, + "start": 1079, + "end": 1089, "loc": { "start": { - "line": 42, + "line": 51, "column": 28 }, "end": { - "line": 42, + "line": 51, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 898, - "end": 902, + "start": 1079, + "end": 1083, "loc": { "start": { - "line": 42, + "line": 51, "column": 28 }, "end": { - "line": 42, + "line": 51, "column": 32 } } }, "property": { "type": "Identifier", - "start": 903, - "end": 908, + "start": 1084, + "end": 1089, "loc": { "start": { - "line": 42, + "line": 51, "column": 33 }, "end": { - "line": 42, + "line": 51, "column": 38 }, "identifierName": "parts" @@ -1418,15 +1713,15 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 772, - "end": 857, + "start": 953, + "end": 1038, "loc": { "start": { - "line": 37, + "line": 46, "column": 2 }, "end": { - "line": 40, + "line": 49, "column": 5 } } @@ -1436,15 +1731,15 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 918, - "end": 1021, + "start": 1099, + "end": 1202, "loc": { "start": { - "line": 45, + "line": 54, "column": 2 }, "end": { - "line": 49, + "line": 58, "column": 5 } } @@ -1453,15 +1748,15 @@ }, { "type": "ClassMethod", - "start": 1024, - "end": 1157, + "start": 1205, + "end": 1338, "loc": { "start": { - "line": 50, + "line": 59, "column": 2 }, "end": { - "line": 56, + "line": 65, "column": 3 } }, @@ -1469,15 +1764,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1024, - "end": 1041, + "start": 1205, + "end": 1222, "loc": { "start": { - "line": 50, + "line": 59, "column": 2 }, "end": { - "line": 50, + "line": 59, "column": 19 }, "identifierName": "get_date_sections" @@ -1493,15 +1788,15 @@ "params": [ { "type": "Identifier", - "start": 1042, - "end": 1047, + "start": 1223, + "end": 1228, "loc": { "start": { - "line": 50, + "line": 59, "column": 20 }, "end": { - "line": 50, + "line": 59, "column": 25 }, "identifierName": "index" @@ -1511,59 +1806,59 @@ ], "body": { "type": "BlockStatement", - "start": 1049, - "end": 1157, + "start": 1230, + "end": 1338, "loc": { "start": { - "line": 50, + "line": 59, "column": 27 }, "end": { - "line": 56, + "line": 65, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1055, - "end": 1084, + "start": 1236, + "end": 1265, "loc": { "start": { - "line": 51, + "line": 60, "column": 4 }, "end": { - "line": 51, + "line": 60, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1059, - "end": 1083, + "start": 1240, + "end": 1264, "loc": { "start": { - "line": 51, + "line": 60, "column": 8 }, "end": { - "line": 51, + "line": 60, "column": 32 } }, "id": { "type": "Identifier", - "start": 1059, - "end": 1063, + "start": 1240, + "end": 1244, "loc": { "start": { - "line": 51, + "line": 60, "column": 8 }, "end": { - "line": 51, + "line": 60, "column": 12 }, "identifierName": "part" @@ -1572,58 +1867,58 @@ }, "init": { "type": "MemberExpression", - "start": 1066, - "end": 1083, + "start": 1247, + "end": 1264, "loc": { "start": { - "line": 51, + "line": 60, "column": 15 }, "end": { - "line": 51, + "line": 60, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 1066, - "end": 1076, + "start": 1247, + "end": 1257, "loc": { "start": { - "line": 51, + "line": 60, "column": 15 }, "end": { - "line": 51, + "line": 60, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 1066, - "end": 1070, + "start": 1247, + "end": 1251, "loc": { "start": { - "line": 51, + "line": 60, "column": 15 }, "end": { - "line": 51, + "line": 60, "column": 19 } } }, "property": { "type": "Identifier", - "start": 1071, - "end": 1076, + "start": 1252, + "end": 1257, "loc": { "start": { - "line": 51, + "line": 60, "column": 20 }, "end": { - "line": 51, + "line": 60, "column": 25 }, "identifierName": "parts" @@ -1634,15 +1929,15 @@ }, "property": { "type": "Identifier", - "start": 1077, - "end": 1082, + "start": 1258, + "end": 1263, "loc": { "start": { - "line": 51, + "line": 60, "column": 26 }, "end": { - "line": 51, + "line": 60, "column": 31 }, "identifierName": "index" @@ -1657,43 +1952,43 @@ }, { "type": "IfStatement", - "start": 1089, - "end": 1136, + "start": 1270, + "end": 1317, "loc": { "start": { - "line": 52, + "line": 61, "column": 4 }, "end": { - "line": 54, + "line": 63, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1093, - "end": 1111, + "start": 1274, + "end": 1292, "loc": { "start": { - "line": 52, + "line": 61, "column": 8 }, "end": { - "line": 52, + "line": 61, "column": 26 } }, "left": { "type": "Identifier", - "start": 1093, - "end": 1097, + "start": 1274, + "end": 1278, "loc": { "start": { - "line": 52, + "line": 61, "column": 8 }, "end": { - "line": 52, + "line": 61, "column": 12 }, "identifierName": "part" @@ -1703,15 +1998,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1102, - "end": 1111, + "start": 1283, + "end": 1292, "loc": { "start": { - "line": 52, + "line": 61, "column": 17 }, "end": { - "line": 52, + "line": 61, "column": 26 }, "identifierName": "undefined" @@ -1721,44 +2016,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 1113, - "end": 1136, + "start": 1294, + "end": 1317, "loc": { "start": { - "line": 52, + "line": 61, "column": 28 }, "end": { - "line": 54, + "line": 63, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 1121, - "end": 1130, + "start": 1302, + "end": 1311, "loc": { "start": { - "line": 53, + "line": 62, "column": 6 }, "end": { - "line": 53, + "line": 62, "column": 15 } }, "argument": { "type": "NumericLiteral", - "start": 1128, - "end": 1129, + "start": 1309, + "end": 1310, "loc": { "start": { - "line": 53, + "line": 62, "column": 13 }, "end": { - "line": 53, + "line": 62, "column": 14 } }, @@ -1776,29 +2071,29 @@ }, { "type": "ReturnStatement", - "start": 1141, - "end": 1153, + "start": 1322, + "end": 1334, "loc": { "start": { - "line": 55, + "line": 64, "column": 4 }, "end": { - "line": 55, + "line": 64, "column": 16 } }, "argument": { "type": "Identifier", - "start": 1148, - "end": 1152, + "start": 1329, + "end": 1333, "loc": { "start": { - "line": 55, + "line": 64, "column": 11 }, "end": { - "line": 55, + "line": 64, "column": 15 }, "identifierName": "part" @@ -1814,15 +2109,15 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 918, - "end": 1021, + "start": 1099, + "end": 1202, "loc": { "start": { - "line": 45, + "line": 54, "column": 2 }, "end": { - "line": 49, + "line": 58, "column": 5 } } @@ -1832,15 +2127,15 @@ { "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": 1161, - "end": 1308, + "start": 1342, + "end": 1489, "loc": { "start": { - "line": 58, + "line": 67, "column": 2 }, "end": { - "line": 64, + "line": 73, "column": 5 } } @@ -1849,15 +2144,15 @@ }, { "type": "ClassMethod", - "start": 1311, - "end": 1439, + "start": 1492, + "end": 1620, "loc": { "start": { - "line": 65, + "line": 74, "column": 2 }, "end": { - "line": 69, + "line": 78, "column": 3 } }, @@ -1865,15 +2160,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1311, - "end": 1328, + "start": 1492, + "end": 1509, "loc": { "start": { - "line": 65, + "line": 74, "column": 2 }, "end": { - "line": 65, + "line": 74, "column": 19 }, "identifierName": "set_date_sections" @@ -1889,15 +2184,15 @@ "params": [ { "type": "Identifier", - "start": 1329, - "end": 1334, + "start": 1510, + "end": 1515, "loc": { "start": { - "line": 65, + "line": 74, "column": 20 }, "end": { - "line": 65, + "line": 74, "column": 25 }, "identifierName": "index" @@ -1906,15 +2201,15 @@ }, { "type": "Identifier", - "start": 1336, - "end": 1341, + "start": 1517, + "end": 1522, "loc": { "start": { - "line": 65, + "line": 74, "column": 27 }, "end": { - "line": 65, + "line": 74, "column": 32 }, "identifierName": "value" @@ -1924,102 +2219,102 @@ ], "body": { "type": "BlockStatement", - "start": 1343, - "end": 1439, + "start": 1524, + "end": 1620, "loc": { "start": { - "line": 65, + "line": 74, "column": 34 }, "end": { - "line": 69, + "line": 78, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1349, - "end": 1386, + "start": 1530, + "end": 1567, "loc": { "start": { - "line": 66, + "line": 75, "column": 4 }, "end": { - "line": 66, + "line": 75, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1349, - "end": 1385, + "start": 1530, + "end": 1566, "loc": { "start": { - "line": 66, + "line": 75, "column": 4 }, "end": { - "line": 66, + "line": 75, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1349, - "end": 1366, + "start": 1530, + "end": 1547, "loc": { "start": { - "line": 66, + "line": 75, "column": 4 }, "end": { - "line": 66, + "line": 75, "column": 21 } }, "object": { "type": "MemberExpression", - "start": 1349, - "end": 1359, + "start": 1530, + "end": 1540, "loc": { "start": { - "line": 66, + "line": 75, "column": 4 }, "end": { - "line": 66, + "line": 75, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1349, - "end": 1353, + "start": 1530, + "end": 1534, "loc": { "start": { - "line": 66, + "line": 75, "column": 4 }, "end": { - "line": 66, + "line": 75, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1354, - "end": 1359, + "start": 1535, + "end": 1540, "loc": { "start": { - "line": 66, + "line": 75, "column": 9 }, "end": { - "line": 66, + "line": 75, "column": 14 }, "identifierName": "parts" @@ -2030,15 +2325,15 @@ }, "property": { "type": "Identifier", - "start": 1360, - "end": 1365, + "start": 1541, + "end": 1546, "loc": { "start": { - "line": 66, + "line": 75, "column": 15 }, "end": { - "line": 66, + "line": 75, "column": 20 }, "identifierName": "index" @@ -2049,43 +2344,43 @@ }, "right": { "type": "CallExpression", - "start": 1369, - "end": 1385, + "start": 1550, + "end": 1566, "loc": { "start": { - "line": 66, + "line": 75, "column": 24 }, "end": { - "line": 66, + "line": 75, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 1369, - "end": 1383, + "start": 1550, + "end": 1564, "loc": { "start": { - "line": 66, + "line": 75, "column": 24 }, "end": { - "line": 66, + "line": 75, "column": 38 } }, "object": { "type": "Identifier", - "start": 1369, - "end": 1374, + "start": 1550, + "end": 1555, "loc": { "start": { - "line": 66, + "line": 75, "column": 24 }, "end": { - "line": 66, + "line": 75, "column": 29 }, "identifierName": "value" @@ -2094,15 +2389,15 @@ }, "property": { "type": "Identifier", - "start": 1375, - "end": 1383, + "start": 1556, + "end": 1564, "loc": { "start": { - "line": 66, + "line": 75, "column": 30 }, "end": { - "line": 66, + "line": 75, "column": 38 }, "identifierName": "toString" @@ -2117,73 +2412,73 @@ }, { "type": "ExpressionStatement", - "start": 1391, - "end": 1418, + "start": 1572, + "end": 1599, "loc": { "start": { - "line": 67, + "line": 76, "column": 4 }, "end": { - "line": 67, + "line": 76, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 1391, - "end": 1417, + "start": 1572, + "end": 1598, "loc": { "start": { - "line": 67, + "line": 76, "column": 4 }, "end": { - "line": 67, + "line": 76, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1391, - "end": 1399, + "start": 1572, + "end": 1580, "loc": { "start": { - "line": 67, + "line": 76, "column": 4 }, "end": { - "line": 67, + "line": 76, "column": 12 } }, "object": { "type": "ThisExpression", - "start": 1391, - "end": 1395, + "start": 1572, + "end": 1576, "loc": { "start": { - "line": 67, + "line": 76, "column": 4 }, "end": { - "line": 67, + "line": 76, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1396, - "end": 1399, + "start": 1577, + "end": 1580, "loc": { "start": { - "line": 67, + "line": 76, "column": 9 }, "end": { - "line": 67, + "line": 76, "column": 12 }, "identifierName": "raw" @@ -2194,58 +2489,58 @@ }, "right": { "type": "CallExpression", - "start": 1402, - "end": 1417, + "start": 1583, + "end": 1598, "loc": { "start": { - "line": 67, + "line": 76, "column": 15 }, "end": { - "line": 67, + "line": 76, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 1402, - "end": 1415, + "start": 1583, + "end": 1596, "loc": { "start": { - "line": 67, + "line": 76, "column": 15 }, "end": { - "line": 67, + "line": 76, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 1402, - "end": 1406, + "start": 1583, + "end": 1587, "loc": { "start": { - "line": 67, + "line": 76, "column": 15 }, "end": { - "line": 67, + "line": 76, "column": 19 } } }, "property": { "type": "Identifier", - "start": 1407, - "end": 1415, + "start": 1588, + "end": 1596, "loc": { "start": { - "line": 67, + "line": 76, "column": 20 }, "end": { - "line": 67, + "line": 76, "column": 28 }, "identifierName": "toString" @@ -2260,29 +2555,29 @@ }, { "type": "ReturnStatement", - "start": 1423, - "end": 1435, + "start": 1604, + "end": 1616, "loc": { "start": { - "line": 68, + "line": 77, "column": 4 }, "end": { - "line": 68, + "line": 77, "column": 16 } }, "argument": { "type": "ThisExpression", - "start": 1430, - "end": 1434, + "start": 1611, + "end": 1615, "loc": { "start": { - "line": 68, + "line": 77, "column": 11 }, "end": { - "line": 68, + "line": 77, "column": 15 } } @@ -2296,15 +2591,15 @@ { "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": 1161, - "end": 1308, + "start": 1342, + "end": 1489, "loc": { "start": { - "line": 58, + "line": 67, "column": 2 }, "end": { - "line": 64, + "line": 73, "column": 5 } } @@ -2314,15 +2609,15 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1443, - "end": 1529, + "start": 1624, + "end": 1710, "loc": { "start": { - "line": 71, + "line": 80, "column": 2 }, "end": { - "line": 74, + "line": 83, "column": 5 } } @@ -2331,15 +2626,15 @@ }, { "type": "ClassMethod", - "start": 1532, - "end": 1580, + "start": 1713, + "end": 1761, "loc": { "start": { - "line": 75, + "line": 84, "column": 2 }, "end": { - "line": 77, + "line": 86, "column": 3 } }, @@ -2347,15 +2642,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1536, - "end": 1542, + "start": 1717, + "end": 1723, "loc": { "start": { - "line": 75, + "line": 84, "column": 6 }, "end": { - "line": 75, + "line": 84, "column": 12 }, "identifierName": "length" @@ -2370,87 +2665,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1545, - "end": 1580, + "start": 1726, + "end": 1761, "loc": { "start": { - "line": 75, + "line": 84, "column": 15 }, "end": { - "line": 77, + "line": 86, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1551, - "end": 1576, + "start": 1732, + "end": 1757, "loc": { "start": { - "line": 76, + "line": 85, "column": 4 }, "end": { - "line": 76, + "line": 85, "column": 29 } }, "argument": { "type": "MemberExpression", - "start": 1558, - "end": 1575, + "start": 1739, + "end": 1756, "loc": { "start": { - "line": 76, + "line": 85, "column": 11 }, "end": { - "line": 76, + "line": 85, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 1558, - "end": 1568, + "start": 1739, + "end": 1749, "loc": { "start": { - "line": 76, + "line": 85, "column": 11 }, "end": { - "line": 76, + "line": 85, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1558, - "end": 1562, + "start": 1739, + "end": 1743, "loc": { "start": { - "line": 76, + "line": 85, "column": 11 }, "end": { - "line": 76, + "line": 85, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1563, - "end": 1568, + "start": 1744, + "end": 1749, "loc": { "start": { - "line": 76, + "line": 85, "column": 16 }, "end": { - "line": 76, + "line": 85, "column": 21 }, "identifierName": "parts" @@ -2461,15 +2756,15 @@ }, "property": { "type": "Identifier", - "start": 1569, - "end": 1575, + "start": 1750, + "end": 1756, "loc": { "start": { - "line": 76, + "line": 85, "column": 22 }, "end": { - "line": 76, + "line": 85, "column": 28 }, "identifierName": "length" @@ -2487,15 +2782,15 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1443, - "end": 1529, + "start": 1624, + "end": 1710, "loc": { "start": { - "line": 71, + "line": 80, "column": 2 }, "end": { - "line": 74, + "line": 83, "column": 5 } } @@ -2505,15 +2800,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1584, - "end": 1656, + "start": 1765, + "end": 1837, "loc": { "start": { - "line": 79, + "line": 88, "column": 2 }, "end": { - "line": 82, + "line": 91, "column": 5 } } @@ -2522,15 +2817,15 @@ }, { "type": "ClassMethod", - "start": 1659, - "end": 1724, + "start": 1840, + "end": 1905, "loc": { "start": { - "line": 83, + "line": 92, "column": 2 }, "end": { - "line": 85, + "line": 94, "column": 3 } }, @@ -2538,15 +2833,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1663, - "end": 1667, + "start": 1844, + "end": 1848, "loc": { "start": { - "line": 83, + "line": 92, "column": 6 }, "end": { - "line": 83, + "line": 92, "column": 10 }, "identifierName": "k_in" @@ -2561,15 +2856,15 @@ "params": [ { "type": "Identifier", - "start": 1668, - "end": 1676, + "start": 1849, + "end": 1857, "loc": { "start": { - "line": 83, + "line": 92, "column": 11 }, "end": { - "line": 83, + "line": 92, "column": 19 }, "identifierName": "new_k_in" @@ -2579,87 +2874,87 @@ ], "body": { "type": "BlockStatement", - "start": 1678, - "end": 1724, + "start": 1859, + "end": 1905, "loc": { "start": { - "line": 83, + "line": 92, "column": 21 }, "end": { - "line": 85, + "line": 94, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1684, - "end": 1720, + "start": 1865, + "end": 1901, "loc": { "start": { - "line": 84, + "line": 93, "column": 4 }, "end": { - "line": 84, + "line": 93, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 1684, - "end": 1719, + "start": 1865, + "end": 1900, "loc": { "start": { - "line": 84, + "line": 93, "column": 4 }, "end": { - "line": 84, + "line": 93, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 1684, - "end": 1706, + "start": 1865, + "end": 1887, "loc": { "start": { - "line": 84, + "line": 93, "column": 4 }, "end": { - "line": 84, + "line": 93, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 1684, - "end": 1688, + "start": 1865, + "end": 1869, "loc": { "start": { - "line": 84, + "line": 93, "column": 4 }, "end": { - "line": 84, + "line": 93, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1689, - "end": 1706, + "start": 1870, + "end": 1887, "loc": { "start": { - "line": 84, + "line": 93, "column": 9 }, "end": { - "line": 84, + "line": 93, "column": 26 }, "identifierName": "set_date_sections" @@ -2671,15 +2966,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1707, - "end": 1708, + "start": 1888, + "end": 1889, "loc": { "start": { - "line": 84, + "line": 93, "column": 27 }, "end": { - "line": 84, + "line": 93, "column": 28 } }, @@ -2691,15 +2986,15 @@ }, { "type": "Identifier", - "start": 1710, - "end": 1718, + "start": 1891, + "end": 1899, "loc": { "start": { - "line": 84, + "line": 93, "column": 30 }, "end": { - "line": 84, + "line": 93, "column": 38 }, "identifierName": "new_k_in" @@ -2717,15 +3012,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1584, - "end": 1656, + "start": 1765, + "end": 1837, "loc": { "start": { - "line": 79, + "line": 88, "column": 2 }, "end": { - "line": 82, + "line": 91, "column": 5 } } @@ -2735,15 +3030,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1728, - "end": 1803, + "start": 1909, + "end": 1984, "loc": { "start": { - "line": 87, + "line": 96, "column": 2 }, "end": { - "line": 90, + "line": 99, "column": 5 } } @@ -2752,15 +3047,15 @@ }, { "type": "ClassMethod", - "start": 1806, - "end": 1860, + "start": 1987, + "end": 2041, "loc": { "start": { - "line": 91, + "line": 100, "column": 2 }, "end": { - "line": 93, + "line": 102, "column": 3 } }, @@ -2768,15 +3063,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1810, - "end": 1814, + "start": 1991, + "end": 1995, "loc": { "start": { - "line": 91, + "line": 100, "column": 6 }, "end": { - "line": 91, + "line": 100, "column": 10 }, "identifierName": "k_in" @@ -2791,87 +3086,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1817, - "end": 1860, + "start": 1998, + "end": 2041, "loc": { "start": { - "line": 91, + "line": 100, "column": 13 }, "end": { - "line": 93, + "line": 102, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1823, - "end": 1856, + "start": 2004, + "end": 2037, "loc": { "start": { - "line": 92, + "line": 101, "column": 4 }, "end": { - "line": 92, + "line": 101, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 1830, - "end": 1855, + "start": 2011, + "end": 2036, "loc": { "start": { - "line": 92, + "line": 101, "column": 11 }, "end": { - "line": 92, + "line": 101, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 1830, - "end": 1852, + "start": 2011, + "end": 2033, "loc": { "start": { - "line": 92, + "line": 101, "column": 11 }, "end": { - "line": 92, + "line": 101, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 1830, - "end": 1834, + "start": 2011, + "end": 2015, "loc": { "start": { - "line": 92, + "line": 101, "column": 11 }, "end": { - "line": 92, + "line": 101, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1835, - "end": 1852, + "start": 2016, + "end": 2033, "loc": { "start": { - "line": 92, + "line": 101, "column": 16 }, "end": { - "line": 92, + "line": 101, "column": 33 }, "identifierName": "get_date_sections" @@ -2883,15 +3178,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1853, - "end": 1854, + "start": 2034, + "end": 2035, "loc": { "start": { - "line": 92, + "line": 101, "column": 34 }, "end": { - "line": 92, + "line": 101, "column": 35 } }, @@ -2912,15 +3207,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1728, - "end": 1803, + "start": 1909, + "end": 1984, "loc": { "start": { - "line": 87, + "line": 96, "column": 2 }, "end": { - "line": 90, + "line": 99, "column": 5 } } @@ -2930,15 +3225,15 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1864, - "end": 1937, + "start": 2045, + "end": 2118, "loc": { "start": { - "line": 95, + "line": 104, "column": 2 }, "end": { - "line": 98, + "line": 107, "column": 5 } } @@ -2947,15 +3242,15 @@ }, { "type": "ClassMethod", - "start": 1940, - "end": 2008, + "start": 2121, + "end": 2189, "loc": { "start": { - "line": 99, + "line": 108, "column": 2 }, "end": { - "line": 101, + "line": 110, "column": 3 } }, @@ -2963,15 +3258,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1944, - "end": 1949, + "start": 2125, + "end": 2130, "loc": { "start": { - "line": 99, + "line": 108, "column": 6 }, "end": { - "line": 99, + "line": 108, "column": 11 }, "identifierName": "winal" @@ -2986,15 +3281,15 @@ "params": [ { "type": "Identifier", - "start": 1950, - "end": 1959, + "start": 2131, + "end": 2140, "loc": { "start": { - "line": 99, + "line": 108, "column": 12 }, "end": { - "line": 99, + "line": 108, "column": 21 }, "identifierName": "new_winal" @@ -3004,87 +3299,87 @@ ], "body": { "type": "BlockStatement", - "start": 1961, - "end": 2008, + "start": 2142, + "end": 2189, "loc": { "start": { - "line": 99, + "line": 108, "column": 23 }, "end": { - "line": 101, + "line": 110, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1967, - "end": 2004, + "start": 2148, + "end": 2185, "loc": { "start": { - "line": 100, + "line": 109, "column": 4 }, "end": { - "line": 100, + "line": 109, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 1967, - "end": 2003, + "start": 2148, + "end": 2184, "loc": { "start": { - "line": 100, + "line": 109, "column": 4 }, "end": { - "line": 100, + "line": 109, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 1967, - "end": 1989, + "start": 2148, + "end": 2170, "loc": { "start": { - "line": 100, + "line": 109, "column": 4 }, "end": { - "line": 100, + "line": 109, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 1967, - "end": 1971, + "start": 2148, + "end": 2152, "loc": { "start": { - "line": 100, + "line": 109, "column": 4 }, "end": { - "line": 100, + "line": 109, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1972, - "end": 1989, + "start": 2153, + "end": 2170, "loc": { "start": { - "line": 100, + "line": 109, "column": 9 }, "end": { - "line": 100, + "line": 109, "column": 26 }, "identifierName": "set_date_sections" @@ -3096,15 +3391,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1990, - "end": 1991, + "start": 2171, + "end": 2172, "loc": { "start": { - "line": 100, + "line": 109, "column": 27 }, "end": { - "line": 100, + "line": 109, "column": 28 } }, @@ -3116,15 +3411,15 @@ }, { "type": "Identifier", - "start": 1993, - "end": 2002, + "start": 2174, + "end": 2183, "loc": { "start": { - "line": 100, + "line": 109, "column": 30 }, "end": { - "line": 100, + "line": 109, "column": 39 }, "identifierName": "new_winal" @@ -3142,15 +3437,15 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1864, - "end": 1937, + "start": 2045, + "end": 2118, "loc": { "start": { - "line": 95, + "line": 104, "column": 2 }, "end": { - "line": 98, + "line": 107, "column": 5 } } @@ -3160,15 +3455,15 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2012, - "end": 2088, + "start": 2193, + "end": 2269, "loc": { "start": { - "line": 103, + "line": 112, "column": 2 }, "end": { - "line": 106, + "line": 115, "column": 5 } } @@ -3177,15 +3472,15 @@ }, { "type": "ClassMethod", - "start": 2091, - "end": 2146, + "start": 2272, + "end": 2327, "loc": { "start": { - "line": 107, + "line": 116, "column": 2 }, "end": { - "line": 109, + "line": 118, "column": 3 } }, @@ -3193,15 +3488,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2095, - "end": 2100, + "start": 2276, + "end": 2281, "loc": { "start": { - "line": 107, + "line": 116, "column": 6 }, "end": { - "line": 107, + "line": 116, "column": 11 }, "identifierName": "winal" @@ -3216,87 +3511,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2103, - "end": 2146, + "start": 2284, + "end": 2327, "loc": { "start": { - "line": 107, + "line": 116, "column": 14 }, "end": { - "line": 109, + "line": 118, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2109, - "end": 2142, + "start": 2290, + "end": 2323, "loc": { "start": { - "line": 108, + "line": 117, "column": 4 }, "end": { - "line": 108, + "line": 117, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2116, - "end": 2141, + "start": 2297, + "end": 2322, "loc": { "start": { - "line": 108, + "line": 117, "column": 11 }, "end": { - "line": 108, + "line": 117, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2116, - "end": 2138, + "start": 2297, + "end": 2319, "loc": { "start": { - "line": 108, + "line": 117, "column": 11 }, "end": { - "line": 108, + "line": 117, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2116, - "end": 2120, + "start": 2297, + "end": 2301, "loc": { "start": { - "line": 108, + "line": 117, "column": 11 }, "end": { - "line": 108, + "line": 117, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2121, - "end": 2138, + "start": 2302, + "end": 2319, "loc": { "start": { - "line": 108, + "line": 117, "column": 16 }, "end": { - "line": 108, + "line": 117, "column": 33 }, "identifierName": "get_date_sections" @@ -3308,15 +3603,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2139, - "end": 2140, + "start": 2320, + "end": 2321, "loc": { "start": { - "line": 108, + "line": 117, "column": 34 }, "end": { - "line": 108, + "line": 117, "column": 35 } }, @@ -3337,15 +3632,15 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2012, - "end": 2088, + "start": 2193, + "end": 2269, "loc": { "start": { - "line": 103, + "line": 112, "column": 2 }, "end": { - "line": 106, + "line": 115, "column": 5 } } @@ -3355,15 +3650,15 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2150, - "end": 2221, + "start": 2331, + "end": 2402, "loc": { "start": { - "line": 111, + "line": 120, "column": 2 }, "end": { - "line": 114, + "line": 123, "column": 5 } } @@ -3372,15 +3667,15 @@ }, { "type": "ClassMethod", - "start": 2224, - "end": 2286, + "start": 2405, + "end": 2467, "loc": { "start": { - "line": 115, + "line": 124, "column": 2 }, "end": { - "line": 117, + "line": 126, "column": 3 } }, @@ -3388,15 +3683,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2228, - "end": 2231, + "start": 2409, + "end": 2412, "loc": { "start": { - "line": 115, + "line": 124, "column": 6 }, "end": { - "line": 115, + "line": 124, "column": 9 }, "identifierName": "tun" @@ -3411,15 +3706,15 @@ "params": [ { "type": "Identifier", - "start": 2232, - "end": 2239, + "start": 2413, + "end": 2420, "loc": { "start": { - "line": 115, + "line": 124, "column": 10 }, "end": { - "line": 115, + "line": 124, "column": 17 }, "identifierName": "new_tun" @@ -3429,87 +3724,87 @@ ], "body": { "type": "BlockStatement", - "start": 2241, - "end": 2286, + "start": 2422, + "end": 2467, "loc": { "start": { - "line": 115, + "line": 124, "column": 19 }, "end": { - "line": 117, + "line": 126, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 2247, - "end": 2282, + "start": 2428, + "end": 2463, "loc": { "start": { - "line": 116, + "line": 125, "column": 4 }, "end": { - "line": 116, + "line": 125, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 2247, - "end": 2281, + "start": 2428, + "end": 2462, "loc": { "start": { - "line": 116, + "line": 125, "column": 4 }, "end": { - "line": 116, + "line": 125, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 2247, - "end": 2269, + "start": 2428, + "end": 2450, "loc": { "start": { - "line": 116, + "line": 125, "column": 4 }, "end": { - "line": 116, + "line": 125, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2247, - "end": 2251, + "start": 2428, + "end": 2432, "loc": { "start": { - "line": 116, + "line": 125, "column": 4 }, "end": { - "line": 116, + "line": 125, "column": 8 } } }, "property": { "type": "Identifier", - "start": 2252, - "end": 2269, + "start": 2433, + "end": 2450, "loc": { "start": { - "line": 116, + "line": 125, "column": 9 }, "end": { - "line": 116, + "line": 125, "column": 26 }, "identifierName": "set_date_sections" @@ -3521,15 +3816,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2270, - "end": 2271, + "start": 2451, + "end": 2452, "loc": { "start": { - "line": 116, + "line": 125, "column": 27 }, "end": { - "line": 116, + "line": 125, "column": 28 } }, @@ -3541,15 +3836,15 @@ }, { "type": "Identifier", - "start": 2273, - "end": 2280, + "start": 2454, + "end": 2461, "loc": { "start": { - "line": 116, + "line": 125, "column": 30 }, "end": { - "line": 116, + "line": 125, "column": 37 }, "identifierName": "new_tun" @@ -3567,15 +3862,15 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2150, - "end": 2221, + "start": 2331, + "end": 2402, "loc": { "start": { - "line": 111, + "line": 120, "column": 2 }, "end": { - "line": 114, + "line": 123, "column": 5 } } @@ -3585,15 +3880,15 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2290, - "end": 2364, + "start": 2471, + "end": 2545, "loc": { "start": { - "line": 119, + "line": 128, "column": 2 }, "end": { - "line": 122, + "line": 131, "column": 5 } } @@ -3602,15 +3897,15 @@ }, { "type": "ClassMethod", - "start": 2367, - "end": 2420, + "start": 2548, + "end": 2601, "loc": { "start": { - "line": 123, + "line": 132, "column": 2 }, "end": { - "line": 125, + "line": 134, "column": 3 } }, @@ -3618,15 +3913,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2371, - "end": 2374, + "start": 2552, + "end": 2555, "loc": { "start": { - "line": 123, + "line": 132, "column": 6 }, "end": { - "line": 123, + "line": 132, "column": 9 }, "identifierName": "tun" @@ -3641,87 +3936,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2377, - "end": 2420, + "start": 2558, + "end": 2601, "loc": { "start": { - "line": 123, + "line": 132, "column": 12 }, "end": { - "line": 125, + "line": 134, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2383, - "end": 2416, + "start": 2564, + "end": 2597, "loc": { "start": { - "line": 124, + "line": 133, "column": 4 }, "end": { - "line": 124, + "line": 133, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2390, - "end": 2415, + "start": 2571, + "end": 2596, "loc": { "start": { - "line": 124, + "line": 133, "column": 11 }, "end": { - "line": 124, + "line": 133, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2390, - "end": 2412, + "start": 2571, + "end": 2593, "loc": { "start": { - "line": 124, + "line": 133, "column": 11 }, "end": { - "line": 124, + "line": 133, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2390, - "end": 2394, + "start": 2571, + "end": 2575, "loc": { "start": { - "line": 124, + "line": 133, "column": 11 }, "end": { - "line": 124, + "line": 133, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2395, - "end": 2412, + "start": 2576, + "end": 2593, "loc": { "start": { - "line": 124, + "line": 133, "column": 16 }, "end": { - "line": 124, + "line": 133, "column": 33 }, "identifierName": "get_date_sections" @@ -3733,15 +4028,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2413, - "end": 2414, + "start": 2594, + "end": 2595, "loc": { "start": { - "line": 124, + "line": 133, "column": 34 }, "end": { - "line": 124, + "line": 133, "column": 35 } }, @@ -3762,15 +4057,15 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2290, - "end": 2364, + "start": 2471, + "end": 2545, "loc": { "start": { - "line": 119, + "line": 128, "column": 2 }, "end": { - "line": 122, + "line": 131, "column": 5 } } @@ -3780,15 +4075,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2424, - "end": 2498, + "start": 2605, + "end": 2679, "loc": { "start": { - "line": 127, + "line": 136, "column": 2 }, "end": { - "line": 130, + "line": 139, "column": 5 } } @@ -3797,15 +4092,15 @@ }, { "type": "ClassMethod", - "start": 2501, - "end": 2572, + "start": 2682, + "end": 2753, "loc": { "start": { - "line": 131, + "line": 140, "column": 2 }, "end": { - "line": 133, + "line": 142, "column": 3 } }, @@ -3813,15 +4108,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2505, - "end": 2511, + "start": 2686, + "end": 2692, "loc": { "start": { - "line": 131, + "line": 140, "column": 6 }, "end": { - "line": 131, + "line": 140, "column": 12 }, "identifierName": "k_atun" @@ -3836,15 +4131,15 @@ "params": [ { "type": "Identifier", - "start": 2512, - "end": 2522, + "start": 2693, + "end": 2703, "loc": { "start": { - "line": 131, + "line": 140, "column": 13 }, "end": { - "line": 131, + "line": 140, "column": 23 }, "identifierName": "new_k_atun" @@ -3854,87 +4149,87 @@ ], "body": { "type": "BlockStatement", - "start": 2524, - "end": 2572, + "start": 2705, + "end": 2753, "loc": { "start": { - "line": 131, + "line": 140, "column": 25 }, "end": { - "line": 133, + "line": 142, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 2530, - "end": 2568, + "start": 2711, + "end": 2749, "loc": { "start": { - "line": 132, + "line": 141, "column": 4 }, "end": { - "line": 132, + "line": 141, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 2530, - "end": 2567, + "start": 2711, + "end": 2748, "loc": { "start": { - "line": 132, + "line": 141, "column": 4 }, "end": { - "line": 132, + "line": 141, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 2530, - "end": 2552, + "start": 2711, + "end": 2733, "loc": { "start": { - "line": 132, + "line": 141, "column": 4 }, "end": { - "line": 132, + "line": 141, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2530, - "end": 2534, + "start": 2711, + "end": 2715, "loc": { "start": { - "line": 132, + "line": 141, "column": 4 }, "end": { - "line": 132, + "line": 141, "column": 8 } } }, "property": { "type": "Identifier", - "start": 2535, - "end": 2552, + "start": 2716, + "end": 2733, "loc": { "start": { - "line": 132, + "line": 141, "column": 9 }, "end": { - "line": 132, + "line": 141, "column": 26 }, "identifierName": "set_date_sections" @@ -3946,15 +4241,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2553, - "end": 2554, + "start": 2734, + "end": 2735, "loc": { "start": { - "line": 132, + "line": 141, "column": 27 }, "end": { - "line": 132, + "line": 141, "column": 28 } }, @@ -3966,15 +4261,15 @@ }, { "type": "Identifier", - "start": 2556, - "end": 2566, + "start": 2737, + "end": 2747, "loc": { "start": { - "line": 132, + "line": 141, "column": 30 }, "end": { - "line": 132, + "line": 141, "column": 40 }, "identifierName": "new_k_atun" @@ -3992,15 +4287,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2424, - "end": 2498, + "start": 2605, + "end": 2679, "loc": { "start": { - "line": 127, + "line": 136, "column": 2 }, "end": { - "line": 130, + "line": 139, "column": 5 } } @@ -4010,15 +4305,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2576, - "end": 2653, + "start": 2757, + "end": 2834, "loc": { "start": { - "line": 135, + "line": 144, "column": 2 }, "end": { - "line": 138, + "line": 147, "column": 5 } } @@ -4027,15 +4322,15 @@ }, { "type": "ClassMethod", - "start": 2656, - "end": 2712, + "start": 2837, + "end": 2893, "loc": { "start": { - "line": 139, + "line": 148, "column": 2 }, "end": { - "line": 141, + "line": 150, "column": 3 } }, @@ -4043,15 +4338,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2660, - "end": 2666, + "start": 2841, + "end": 2847, "loc": { "start": { - "line": 139, + "line": 148, "column": 6 }, "end": { - "line": 139, + "line": 148, "column": 12 }, "identifierName": "k_atun" @@ -4066,87 +4361,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2669, - "end": 2712, + "start": 2850, + "end": 2893, "loc": { "start": { - "line": 139, + "line": 148, "column": 15 }, "end": { - "line": 141, + "line": 150, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2675, - "end": 2708, + "start": 2856, + "end": 2889, "loc": { "start": { - "line": 140, + "line": 149, "column": 4 }, "end": { - "line": 140, + "line": 149, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2682, - "end": 2707, + "start": 2863, + "end": 2888, "loc": { "start": { - "line": 140, + "line": 149, "column": 11 }, "end": { - "line": 140, + "line": 149, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2682, - "end": 2704, + "start": 2863, + "end": 2885, "loc": { "start": { - "line": 140, + "line": 149, "column": 11 }, "end": { - "line": 140, + "line": 149, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2682, - "end": 2686, + "start": 2863, + "end": 2867, "loc": { "start": { - "line": 140, + "line": 149, "column": 11 }, "end": { - "line": 140, + "line": 149, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2687, - "end": 2704, + "start": 2868, + "end": 2885, "loc": { "start": { - "line": 140, + "line": 149, "column": 16 }, "end": { - "line": 140, + "line": 149, "column": 33 }, "identifierName": "get_date_sections" @@ -4158,15 +4453,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2705, - "end": 2706, + "start": 2886, + "end": 2887, "loc": { "start": { - "line": 140, + "line": 149, "column": 34 }, "end": { - "line": 140, + "line": 149, "column": 35 } }, @@ -4187,15 +4482,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2576, - "end": 2653, + "start": 2757, + "end": 2834, "loc": { "start": { - "line": 135, + "line": 144, "column": 2 }, "end": { - "line": 138, + "line": 147, "column": 5 } } @@ -4205,15 +4500,15 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "start": 2897, + "end": 2972, "loc": { "start": { - "line": 143, + "line": 152, "column": 2 }, "end": { - "line": 146, + "line": 155, "column": 5 } } @@ -4222,15 +4517,15 @@ }, { "type": "ClassMethod", - "start": 2794, - "end": 2868, + "start": 2975, + "end": 3049, "loc": { "start": { - "line": 147, + "line": 156, "column": 2 }, "end": { - "line": 149, + "line": 158, "column": 3 } }, @@ -4238,15 +4533,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2798, - "end": 2805, + "start": 2979, + "end": 2986, "loc": { "start": { - "line": 147, + "line": 156, "column": 6 }, "end": { - "line": 147, + "line": 156, "column": 13 }, "identifierName": "bak_tun" @@ -4261,15 +4556,15 @@ "params": [ { "type": "Identifier", - "start": 2806, - "end": 2817, + "start": 2987, + "end": 2998, "loc": { "start": { - "line": 147, + "line": 156, "column": 14 }, "end": { - "line": 147, + "line": 156, "column": 25 }, "identifierName": "new_bak_tun" @@ -4279,87 +4574,87 @@ ], "body": { "type": "BlockStatement", - "start": 2819, - "end": 2868, + "start": 3000, + "end": 3049, "loc": { "start": { - "line": 147, + "line": 156, "column": 27 }, "end": { - "line": 149, + "line": 158, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 2825, - "end": 2864, + "start": 3006, + "end": 3045, "loc": { "start": { - "line": 148, + "line": 157, "column": 4 }, "end": { - "line": 148, + "line": 157, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 2825, - "end": 2863, + "start": 3006, + "end": 3044, "loc": { "start": { - "line": 148, + "line": 157, "column": 4 }, "end": { - "line": 148, + "line": 157, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 2825, - "end": 2847, + "start": 3006, + "end": 3028, "loc": { "start": { - "line": 148, + "line": 157, "column": 4 }, "end": { - "line": 148, + "line": 157, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 2825, - "end": 2829, + "start": 3006, + "end": 3010, "loc": { "start": { - "line": 148, + "line": 157, "column": 4 }, "end": { - "line": 148, + "line": 157, "column": 8 } } }, "property": { "type": "Identifier", - "start": 2830, - "end": 2847, + "start": 3011, + "end": 3028, "loc": { "start": { - "line": 148, + "line": 157, "column": 9 }, "end": { - "line": 148, + "line": 157, "column": 26 }, "identifierName": "set_date_sections" @@ -4371,15 +4666,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2848, - "end": 2849, + "start": 3029, + "end": 3030, "loc": { "start": { - "line": 148, + "line": 157, "column": 27 }, "end": { - "line": 148, + "line": 157, "column": 28 } }, @@ -4391,15 +4686,15 @@ }, { "type": "Identifier", - "start": 2851, - "end": 2862, + "start": 3032, + "end": 3043, "loc": { "start": { - "line": 148, + "line": 157, "column": 30 }, "end": { - "line": 148, + "line": 157, "column": 41 }, "identifierName": "new_bak_tun" @@ -4417,15 +4712,15 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "start": 2897, + "end": 2972, "loc": { "start": { - "line": 143, + "line": 152, "column": 2 }, "end": { - "line": 146, + "line": 155, "column": 5 } } @@ -4435,15 +4730,15 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2872, - "end": 2950, + "start": 3053, + "end": 3131, "loc": { "start": { - "line": 151, + "line": 160, "column": 2 }, "end": { - "line": 154, + "line": 163, "column": 5 } } @@ -4452,15 +4747,15 @@ }, { "type": "ClassMethod", - "start": 2953, - "end": 3010, + "start": 3134, + "end": 3191, "loc": { "start": { - "line": 155, + "line": 164, "column": 2 }, "end": { - "line": 157, + "line": 166, "column": 3 } }, @@ -4468,15 +4763,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2957, - "end": 2964, + "start": 3138, + "end": 3145, "loc": { "start": { - "line": 155, + "line": 164, "column": 6 }, "end": { - "line": 155, + "line": 164, "column": 13 }, "identifierName": "bak_tun" @@ -4491,87 +4786,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2967, - "end": 3010, + "start": 3148, + "end": 3191, "loc": { "start": { - "line": 155, + "line": 164, "column": 16 }, "end": { - "line": 157, + "line": 166, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2973, - "end": 3006, + "start": 3154, + "end": 3187, "loc": { "start": { - "line": 156, + "line": 165, "column": 4 }, "end": { - "line": 156, + "line": 165, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2980, - "end": 3005, + "start": 3161, + "end": 3186, "loc": { "start": { - "line": 156, + "line": 165, "column": 11 }, "end": { - "line": 156, + "line": 165, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 2980, - "end": 3002, + "start": 3161, + "end": 3183, "loc": { "start": { - "line": 156, + "line": 165, "column": 11 }, "end": { - "line": 156, + "line": 165, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 2980, - "end": 2984, + "start": 3161, + "end": 3165, "loc": { "start": { - "line": 156, + "line": 165, "column": 11 }, "end": { - "line": 156, + "line": 165, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2985, - "end": 3002, + "start": 3166, + "end": 3183, "loc": { "start": { - "line": 156, + "line": 165, "column": 16 }, "end": { - "line": 156, + "line": 165, "column": 33 }, "identifierName": "get_date_sections" @@ -4583,15 +4878,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3003, - "end": 3004, + "start": 3184, + "end": 3185, "loc": { "start": { - "line": 156, + "line": 165, "column": 34 }, "end": { - "line": 156, + "line": 165, "column": 35 } }, @@ -4612,15 +4907,15 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2872, - "end": 2950, + "start": 3053, + "end": 3131, "loc": { "start": { - "line": 151, + "line": 160, "column": 2 }, "end": { - "line": 154, + "line": 163, "column": 5 } } @@ -4630,15 +4925,15 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3014, - "end": 3088, + "start": 3195, + "end": 3269, "loc": { "start": { - "line": 159, + "line": 168, "column": 2 }, "end": { - "line": 162, + "line": 171, "column": 5 } } @@ -4647,15 +4942,15 @@ }, { "type": "ClassMethod", - "start": 3091, - "end": 3164, + "start": 3272, + "end": 3345, "loc": { "start": { - "line": 163, + "line": 172, "column": 2 }, "end": { - "line": 165, + "line": 174, "column": 3 } }, @@ -4663,15 +4958,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3095, - "end": 3101, + "start": 3276, + "end": 3282, "loc": { "start": { - "line": 163, + "line": 172, "column": 6 }, "end": { - "line": 163, + "line": 172, "column": 12 }, "identifierName": "piktun" @@ -4686,15 +4981,15 @@ "params": [ { "type": "Identifier", - "start": 3102, - "end": 3113, + "start": 3283, + "end": 3294, "loc": { "start": { - "line": 163, + "line": 172, "column": 13 }, "end": { - "line": 163, + "line": 172, "column": 24 }, "identifierName": "new_bak_tun" @@ -4704,87 +4999,87 @@ ], "body": { "type": "BlockStatement", - "start": 3115, - "end": 3164, + "start": 3296, + "end": 3345, "loc": { "start": { - "line": 163, + "line": 172, "column": 26 }, "end": { - "line": 165, + "line": 174, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 3121, - "end": 3160, + "start": 3302, + "end": 3341, "loc": { "start": { - "line": 164, + "line": 173, "column": 4 }, "end": { - "line": 164, + "line": 173, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3121, - "end": 3159, + "start": 3302, + "end": 3340, "loc": { "start": { - "line": 164, + "line": 173, "column": 4 }, "end": { - "line": 164, + "line": 173, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 3121, - "end": 3143, + "start": 3302, + "end": 3324, "loc": { "start": { - "line": 164, + "line": 173, "column": 4 }, "end": { - "line": 164, + "line": 173, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3121, - "end": 3125, + "start": 3302, + "end": 3306, "loc": { "start": { - "line": 164, + "line": 173, "column": 4 }, "end": { - "line": 164, + "line": 173, "column": 8 } } }, "property": { "type": "Identifier", - "start": 3126, - "end": 3143, + "start": 3307, + "end": 3324, "loc": { "start": { - "line": 164, + "line": 173, "column": 9 }, "end": { - "line": 164, + "line": 173, "column": 26 }, "identifierName": "set_date_sections" @@ -4796,15 +5091,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3144, - "end": 3145, + "start": 3325, + "end": 3326, "loc": { "start": { - "line": 164, + "line": 173, "column": 27 }, "end": { - "line": 164, + "line": 173, "column": 28 } }, @@ -4816,15 +5111,15 @@ }, { "type": "Identifier", - "start": 3147, - "end": 3158, + "start": 3328, + "end": 3339, "loc": { "start": { - "line": 164, + "line": 173, "column": 30 }, "end": { - "line": 164, + "line": 173, "column": 41 }, "identifierName": "new_bak_tun" @@ -4842,15 +5137,15 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3014, - "end": 3088, + "start": 3195, + "end": 3269, "loc": { "start": { - "line": 159, + "line": 168, "column": 2 }, "end": { - "line": 162, + "line": 171, "column": 5 } } @@ -4860,15 +5155,15 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3168, - "end": 3245, + "start": 3349, + "end": 3426, "loc": { "start": { - "line": 167, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 179, "column": 5 } } @@ -4877,15 +5172,15 @@ }, { "type": "ClassMethod", - "start": 3248, - "end": 3304, + "start": 3429, + "end": 3485, "loc": { "start": { - "line": 171, + "line": 180, "column": 2 }, "end": { - "line": 173, + "line": 182, "column": 3 } }, @@ -4893,15 +5188,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3252, - "end": 3258, + "start": 3433, + "end": 3439, "loc": { "start": { - "line": 171, + "line": 180, "column": 6 }, "end": { - "line": 171, + "line": 180, "column": 12 }, "identifierName": "piktun" @@ -4916,87 +5211,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3261, - "end": 3304, + "start": 3442, + "end": 3485, "loc": { "start": { - "line": 171, + "line": 180, "column": 15 }, "end": { - "line": 173, + "line": 182, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3267, - "end": 3300, + "start": 3448, + "end": 3481, "loc": { "start": { - "line": 172, + "line": 181, "column": 4 }, "end": { - "line": 172, + "line": 181, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3274, - "end": 3299, + "start": 3455, + "end": 3480, "loc": { "start": { - "line": 172, + "line": 181, "column": 11 }, "end": { - "line": 172, + "line": 181, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 3274, - "end": 3296, + "start": 3455, + "end": 3477, "loc": { "start": { - "line": 172, + "line": 181, "column": 11 }, "end": { - "line": 172, + "line": 181, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 3274, - "end": 3278, + "start": 3455, + "end": 3459, "loc": { "start": { - "line": 172, + "line": 181, "column": 11 }, "end": { - "line": 172, + "line": 181, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3279, - "end": 3296, + "start": 3460, + "end": 3477, "loc": { "start": { - "line": 172, + "line": 181, "column": 16 }, "end": { - "line": 172, + "line": 181, "column": 33 }, "identifierName": "get_date_sections" @@ -5008,15 +5303,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3297, - "end": 3298, + "start": 3478, + "end": 3479, "loc": { "start": { - "line": 172, + "line": 181, "column": 34 }, "end": { - "line": 172, + "line": 181, "column": 35 } }, @@ -5037,15 +5332,15 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3168, - "end": 3245, + "start": 3349, + "end": 3426, "loc": { "start": { - "line": 167, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 179, "column": 5 } } @@ -5055,15 +5350,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3308, - "end": 3384, + "start": 3489, + "end": 3565, "loc": { "start": { - "line": 175, + "line": 184, "column": 2 }, "end": { - "line": 178, + "line": 187, "column": 5 } } @@ -5072,15 +5367,15 @@ }, { "type": "ClassMethod", - "start": 3387, - "end": 3462, + "start": 3568, + "end": 3643, "loc": { "start": { - "line": 179, + "line": 188, "column": 2 }, "end": { - "line": 181, + "line": 190, "column": 3 } }, @@ -5088,15 +5383,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3391, - "end": 3399, + "start": 3572, + "end": 3580, "loc": { "start": { - "line": 179, + "line": 188, "column": 6 }, "end": { - "line": 179, + "line": 188, "column": 14 }, "identifierName": "kalabtun" @@ -5111,15 +5406,15 @@ "params": [ { "type": "Identifier", - "start": 3400, - "end": 3411, + "start": 3581, + "end": 3592, "loc": { "start": { - "line": 179, + "line": 188, "column": 15 }, "end": { - "line": 179, + "line": 188, "column": 26 }, "identifierName": "new_bak_tun" @@ -5129,87 +5424,87 @@ ], "body": { "type": "BlockStatement", - "start": 3413, - "end": 3462, + "start": 3594, + "end": 3643, "loc": { "start": { - "line": 179, + "line": 188, "column": 28 }, "end": { - "line": 181, + "line": 190, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 3419, - "end": 3458, + "start": 3600, + "end": 3639, "loc": { "start": { - "line": 180, + "line": 189, "column": 4 }, "end": { - "line": 180, + "line": 189, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3419, - "end": 3457, + "start": 3600, + "end": 3638, "loc": { "start": { - "line": 180, + "line": 189, "column": 4 }, "end": { - "line": 180, + "line": 189, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 3419, - "end": 3441, + "start": 3600, + "end": 3622, "loc": { "start": { - "line": 180, + "line": 189, "column": 4 }, "end": { - "line": 180, + "line": 189, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3419, - "end": 3423, + "start": 3600, + "end": 3604, "loc": { "start": { - "line": 180, + "line": 189, "column": 4 }, "end": { - "line": 180, + "line": 189, "column": 8 } } }, "property": { "type": "Identifier", - "start": 3424, - "end": 3441, + "start": 3605, + "end": 3622, "loc": { "start": { - "line": 180, + "line": 189, "column": 9 }, "end": { - "line": 180, + "line": 189, "column": 26 }, "identifierName": "set_date_sections" @@ -5221,15 +5516,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3442, - "end": 3443, + "start": 3623, + "end": 3624, "loc": { "start": { - "line": 180, + "line": 189, "column": 27 }, "end": { - "line": 180, + "line": 189, "column": 28 } }, @@ -5241,15 +5536,15 @@ }, { "type": "Identifier", - "start": 3445, - "end": 3456, + "start": 3626, + "end": 3637, "loc": { "start": { - "line": 180, + "line": 189, "column": 30 }, "end": { - "line": 180, + "line": 189, "column": 41 }, "identifierName": "new_bak_tun" @@ -5267,15 +5562,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3308, - "end": 3384, + "start": 3489, + "end": 3565, "loc": { "start": { - "line": 175, + "line": 184, "column": 2 }, "end": { - "line": 178, + "line": 187, "column": 5 } } @@ -5285,15 +5580,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3466, - "end": 3545, + "start": 3647, + "end": 3726, "loc": { "start": { - "line": 183, + "line": 192, "column": 2 }, "end": { - "line": 186, + "line": 195, "column": 5 } } @@ -5302,15 +5597,15 @@ }, { "type": "ClassMethod", - "start": 3548, - "end": 3606, + "start": 3729, + "end": 3787, "loc": { "start": { - "line": 187, + "line": 196, "column": 2 }, "end": { - "line": 189, + "line": 198, "column": 3 } }, @@ -5318,15 +5613,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3552, - "end": 3560, + "start": 3733, + "end": 3741, "loc": { "start": { - "line": 187, + "line": 196, "column": 6 }, "end": { - "line": 187, + "line": 196, "column": 14 }, "identifierName": "kalabtun" @@ -5341,87 +5636,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3563, - "end": 3606, + "start": 3744, + "end": 3787, "loc": { "start": { - "line": 187, + "line": 196, "column": 17 }, "end": { - "line": 189, + "line": 198, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3569, - "end": 3602, + "start": 3750, + "end": 3783, "loc": { "start": { - "line": 188, + "line": 197, "column": 4 }, "end": { - "line": 188, + "line": 197, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3576, - "end": 3601, + "start": 3757, + "end": 3782, "loc": { "start": { - "line": 188, + "line": 197, "column": 11 }, "end": { - "line": 188, + "line": 197, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 3576, - "end": 3598, + "start": 3757, + "end": 3779, "loc": { "start": { - "line": 188, + "line": 197, "column": 11 }, "end": { - "line": 188, + "line": 197, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 3576, - "end": 3580, + "start": 3757, + "end": 3761, "loc": { "start": { - "line": 188, + "line": 197, "column": 11 }, "end": { - "line": 188, + "line": 197, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3581, - "end": 3598, + "start": 3762, + "end": 3779, "loc": { "start": { - "line": 188, + "line": 197, "column": 16 }, "end": { - "line": 188, + "line": 197, "column": 33 }, "identifierName": "get_date_sections" @@ -5433,15 +5728,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3599, - "end": 3600, + "start": 3780, + "end": 3781, "loc": { "start": { - "line": 188, + "line": 197, "column": 34 }, "end": { - "line": 188, + "line": 197, "column": 35 } }, @@ -5462,15 +5757,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3466, - "end": 3545, + "start": 3647, + "end": 3726, "loc": { "start": { - "line": 183, + "line": 192, "column": 2 }, "end": { - "line": 186, + "line": 195, "column": 5 } } @@ -5480,15 +5775,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3610, - "end": 3688, + "start": 3791, + "end": 3869, "loc": { "start": { - "line": 191, + "line": 200, "column": 2 }, "end": { - "line": 194, + "line": 203, "column": 5 } } @@ -5497,15 +5792,15 @@ }, { "type": "ClassMethod", - "start": 3691, - "end": 3768, + "start": 3872, + "end": 3949, "loc": { "start": { - "line": 195, + "line": 204, "column": 2 }, "end": { - "line": 197, + "line": 206, "column": 3 } }, @@ -5513,15 +5808,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3695, - "end": 3705, + "start": 3876, + "end": 3886, "loc": { "start": { - "line": 195, + "line": 204, "column": 6 }, "end": { - "line": 195, + "line": 204, "column": 16 }, "identifierName": "kinchiltun" @@ -5536,15 +5831,15 @@ "params": [ { "type": "Identifier", - "start": 3706, - "end": 3717, + "start": 3887, + "end": 3898, "loc": { "start": { - "line": 195, + "line": 204, "column": 17 }, "end": { - "line": 195, + "line": 204, "column": 28 }, "identifierName": "new_bak_tun" @@ -5554,87 +5849,87 @@ ], "body": { "type": "BlockStatement", - "start": 3719, - "end": 3768, + "start": 3900, + "end": 3949, "loc": { "start": { - "line": 195, + "line": 204, "column": 30 }, "end": { - "line": 197, + "line": 206, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 3725, - "end": 3764, + "start": 3906, + "end": 3945, "loc": { "start": { - "line": 196, + "line": 205, "column": 4 }, "end": { - "line": 196, + "line": 205, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3725, - "end": 3763, + "start": 3906, + "end": 3944, "loc": { "start": { - "line": 196, + "line": 205, "column": 4 }, "end": { - "line": 196, + "line": 205, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 3725, - "end": 3747, + "start": 3906, + "end": 3928, "loc": { "start": { - "line": 196, + "line": 205, "column": 4 }, "end": { - "line": 196, + "line": 205, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3725, - "end": 3729, + "start": 3906, + "end": 3910, "loc": { "start": { - "line": 196, + "line": 205, "column": 4 }, "end": { - "line": 196, + "line": 205, "column": 8 } } }, "property": { "type": "Identifier", - "start": 3730, - "end": 3747, + "start": 3911, + "end": 3928, "loc": { "start": { - "line": 196, + "line": 205, "column": 9 }, "end": { - "line": 196, + "line": 205, "column": 26 }, "identifierName": "set_date_sections" @@ -5646,15 +5941,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3748, - "end": 3749, + "start": 3929, + "end": 3930, "loc": { "start": { - "line": 196, + "line": 205, "column": 27 }, "end": { - "line": 196, + "line": 205, "column": 28 } }, @@ -5666,15 +5961,15 @@ }, { "type": "Identifier", - "start": 3751, - "end": 3762, + "start": 3932, + "end": 3943, "loc": { "start": { - "line": 196, + "line": 205, "column": 30 }, "end": { - "line": 196, + "line": 205, "column": 41 }, "identifierName": "new_bak_tun" @@ -5692,15 +5987,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3610, - "end": 3688, + "start": 3791, + "end": 3869, "loc": { "start": { - "line": 191, + "line": 200, "column": 2 }, "end": { - "line": 194, + "line": 203, "column": 5 } } @@ -5710,15 +6005,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3772, - "end": 3853, + "start": 3953, + "end": 4034, "loc": { "start": { - "line": 199, + "line": 208, "column": 2 }, "end": { - "line": 202, + "line": 211, "column": 5 } } @@ -5727,15 +6022,15 @@ }, { "type": "ClassMethod", - "start": 3856, - "end": 3916, + "start": 4037, + "end": 4097, "loc": { "start": { - "line": 203, + "line": 212, "column": 2 }, "end": { - "line": 205, + "line": 214, "column": 3 } }, @@ -5743,15 +6038,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3860, - "end": 3870, + "start": 4041, + "end": 4051, "loc": { "start": { - "line": 203, + "line": 212, "column": 6 }, "end": { - "line": 203, + "line": 212, "column": 16 }, "identifierName": "kinchiltun" @@ -5766,87 +6061,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3873, - "end": 3916, + "start": 4054, + "end": 4097, "loc": { "start": { - "line": 203, + "line": 212, "column": 19 }, "end": { - "line": 205, + "line": 214, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3879, - "end": 3912, + "start": 4060, + "end": 4093, "loc": { "start": { - "line": 204, + "line": 213, "column": 4 }, "end": { - "line": 204, + "line": 213, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3886, - "end": 3911, + "start": 4067, + "end": 4092, "loc": { "start": { - "line": 204, + "line": 213, "column": 11 }, "end": { - "line": 204, + "line": 213, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 3886, - "end": 3908, + "start": 4067, + "end": 4089, "loc": { "start": { - "line": 204, + "line": 213, "column": 11 }, "end": { - "line": 204, + "line": 213, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 3886, - "end": 3890, + "start": 4067, + "end": 4071, "loc": { "start": { - "line": 204, + "line": 213, "column": 11 }, "end": { - "line": 204, + "line": 213, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3891, - "end": 3908, + "start": 4072, + "end": 4089, "loc": { "start": { - "line": 204, + "line": 213, "column": 16 }, "end": { - "line": 204, + "line": 213, "column": 33 }, "identifierName": "get_date_sections" @@ -5858,15 +6153,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3909, - "end": 3910, + "start": 4090, + "end": 4091, "loc": { "start": { - "line": 204, + "line": 213, "column": 34 }, "end": { - "line": 204, + "line": 213, "column": 35 } }, @@ -5887,15 +6182,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3772, - "end": 3853, + "start": 3953, + "end": 4034, "loc": { "start": { - "line": 199, + "line": 208, "column": 2 }, "end": { - "line": 202, + "line": 211, "column": 5 } } @@ -5905,15 +6200,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3920, - "end": 3953, + "start": 4101, + "end": 4134, "loc": { "start": { - "line": 207, + "line": 216, "column": 2 }, "end": { - "line": 210, + "line": 219, "column": 5 } } @@ -5922,15 +6217,15 @@ }, { "type": "ClassMethod", - "start": 3956, - "end": 4059, + "start": 4137, + "end": 4240, "loc": { "start": { - "line": 211, + "line": 220, "column": 2 }, "end": { - "line": 215, + "line": 224, "column": 3 } }, @@ -5938,15 +6233,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3960, - "end": 3973, + "start": 4141, + "end": 4154, "loc": { "start": { - "line": 211, + "line": 220, "column": 6 }, "end": { - "line": 211, + "line": 220, "column": 19 }, "identifierName": "lord_of_night" @@ -5961,72 +6256,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3976, - "end": 4059, + "start": 4157, + "end": 4240, "loc": { "start": { - "line": 211, + "line": 220, "column": 22 }, "end": { - "line": 215, + "line": 224, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3982, - "end": 4055, + "start": 4163, + "end": 4236, "loc": { "start": { - "line": 212, + "line": 221, "column": 4 }, "end": { - "line": 214, + "line": 223, "column": 6 } }, "argument": { "type": "CallExpression", - "start": 3989, - "end": 4054, + "start": 4170, + "end": 4235, "loc": { "start": { - "line": 212, + "line": 221, "column": 11 }, "end": { - "line": 214, + "line": 223, "column": 5 } }, "callee": { "type": "MemberExpression", - "start": 3989, - "end": 3998, + "start": 4170, + "end": 4179, "loc": { "start": { - "line": 212, + "line": 221, "column": 11 }, "end": { - "line": 212, + "line": 221, "column": 20 } }, "object": { "type": "Identifier", - "start": 3989, - "end": 3994, + "start": 4170, + "end": 4175, "loc": { "start": { - "line": 212, + "line": 221, "column": 11 }, "end": { - "line": 212, + "line": 221, "column": 16 }, "identifierName": "night" @@ -6035,15 +6330,15 @@ }, "property": { "type": "Identifier", - "start": 3995, - "end": 3998, + "start": 4176, + "end": 4179, "loc": { "start": { - "line": 212, + "line": 221, "column": 17 }, "end": { - "line": 212, + "line": 221, "column": 20 }, "identifierName": "get" @@ -6055,115 +6350,115 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4006, - "end": 4047, + "start": 4187, + "end": 4228, "loc": { "start": { - "line": 213, + "line": 222, "column": 6 }, "end": { - "line": 213, + "line": 222, "column": 47 } }, "expressions": [ { "type": "BinaryExpression", - "start": 4010, - "end": 4045, + "start": 4191, + "end": 4226, "loc": { "start": { - "line": 213, + "line": 222, "column": 10 }, "end": { - "line": 213, + "line": 222, "column": 45 } }, "left": { "type": "BinaryExpression", - "start": 4011, - "end": 4040, + "start": 4192, + "end": 4221, "loc": { "start": { - "line": 213, + "line": 222, "column": 11 }, "end": { - "line": 213, + "line": 222, "column": 40 } }, "left": { "type": "BinaryExpression", - "start": 4012, - "end": 4035, + "start": 4193, + "end": 4216, "loc": { "start": { - "line": 213, + "line": 222, "column": 12 }, "end": { - "line": 213, + "line": 222, "column": 35 } }, "left": { "type": "CallExpression", - "start": 4012, - "end": 4031, + "start": 4193, + "end": 4212, "loc": { "start": { - "line": 213, + "line": 222, "column": 12 }, "end": { - "line": 213, + "line": 222, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 4012, - "end": 4029, + "start": 4193, + "end": 4210, "loc": { "start": { - "line": 213, + "line": 222, "column": 12 }, "end": { - "line": 213, + "line": 222, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 4012, - "end": 4016, + "start": 4193, + "end": 4197, "loc": { "start": { - "line": 213, + "line": 222, "column": 12 }, "end": { - "line": 213, + "line": 222, "column": 16 } } }, "property": { "type": "Identifier", - "start": 4017, - "end": 4029, + "start": 4198, + "end": 4210, "loc": { "start": { - "line": 213, + "line": 222, "column": 17 }, "end": { - "line": 213, + "line": 222, "column": 29 }, "identifierName": "get_position" @@ -6177,15 +6472,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4034, - "end": 4035, + "start": 4215, + "end": 4216, "loc": { "start": { - "line": 213, + "line": 222, "column": 34 }, "end": { - "line": 213, + "line": 222, "column": 35 } }, @@ -6197,21 +6492,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 4011 + "parenStart": 4192 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 4039, - "end": 4040, + "start": 4220, + "end": 4221, "loc": { "start": { - "line": 213, + "line": 222, "column": 39 }, "end": { - "line": 213, + "line": 222, "column": 40 } }, @@ -6223,21 +6518,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 4010 + "parenStart": 4191 } }, "operator": "+", "right": { "type": "NumericLiteral", - "start": 4044, - "end": 4045, + "start": 4225, + "end": 4226, "loc": { "start": { - "line": 213, + "line": 222, "column": 44 }, "end": { - "line": 213, + "line": 222, "column": 45 } }, @@ -6252,15 +6547,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 4007, - "end": 4008, + "start": 4188, + "end": 4189, "loc": { "start": { - "line": 213, + "line": 222, "column": 7 }, "end": { - "line": 213, + "line": 222, "column": 8 } }, @@ -6272,15 +6567,15 @@ }, { "type": "TemplateElement", - "start": 4046, - "end": 4046, + "start": 4227, + "end": 4227, "loc": { "start": { - "line": 213, + "line": 222, "column": 46 }, "end": { - "line": 213, + "line": 222, "column": 46 } }, @@ -6303,15 +6598,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3920, - "end": 3953, + "start": 4101, + "end": 4134, "loc": { "start": { - "line": 207, + "line": 216, "column": 2 }, "end": { - "line": 210, + "line": 219, "column": 5 } } @@ -6321,15 +6616,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4063, - "end": 4169, + "start": 4244, + "end": 4350, "loc": { "start": { - "line": 217, + "line": 226, "column": 2 }, "end": { - "line": 220, + "line": 229, "column": 5 } } @@ -6338,15 +6633,15 @@ }, { "type": "ClassMethod", - "start": 4172, - "end": 4240, + "start": 4353, + "end": 4421, "loc": { "start": { - "line": 221, + "line": 230, "column": 2 }, "end": { - "line": 223, + "line": 232, "column": 3 } }, @@ -6354,15 +6649,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4172, - "end": 4180, + "start": 4353, + "end": 4361, "loc": { "start": { - "line": 221, + "line": 230, "column": 2 }, "end": { - "line": 221, + "line": 230, "column": 10 }, "identifierName": "is_valid" @@ -6378,101 +6673,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4183, - "end": 4240, + "start": 4364, + "end": 4421, "loc": { "start": { - "line": 221, + "line": 230, "column": 13 }, "end": { - "line": 223, + "line": 232, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 4189, - "end": 4236, + "start": 4370, + "end": 4417, "loc": { "start": { - "line": 222, + "line": 231, "column": 4 }, "end": { - "line": 222, + "line": 231, "column": 51 } }, "argument": { "type": "CallExpression", - "start": 4196, - "end": 4235, + "start": 4377, + "end": 4416, "loc": { "start": { - "line": 222, + "line": 231, "column": 11 }, "end": { - "line": 222, + "line": 231, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 4196, - "end": 4218, + "start": 4377, + "end": 4399, "loc": { "start": { - "line": 222, + "line": 231, "column": 11 }, "end": { - "line": 222, + "line": 231, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 4196, - "end": 4213, + "start": 4377, + "end": 4394, "loc": { "start": { - "line": 222, + "line": 231, "column": 11 }, "end": { - "line": 222, + "line": 231, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4196, - "end": 4200, + "start": 4377, + "end": 4381, "loc": { "start": { - "line": 222, + "line": 231, "column": 11 }, "end": { - "line": 222, + "line": 231, "column": 15 } } }, "property": { "type": "Identifier", - "start": 4201, - "end": 4213, + "start": 4382, + "end": 4394, "loc": { "start": { - "line": 222, + "line": 231, "column": 16 }, "end": { - "line": 222, + "line": 231, "column": 28 }, "identifierName": "date_pattern" @@ -6483,15 +6778,15 @@ }, "property": { "type": "Identifier", - "start": 4214, - "end": 4218, + "start": 4395, + "end": 4399, "loc": { "start": { - "line": 222, + "line": 231, "column": 29 }, "end": { - "line": 222, + "line": 231, "column": 33 }, "identifierName": "test" @@ -6503,58 +6798,58 @@ "arguments": [ { "type": "CallExpression", - "start": 4219, - "end": 4234, + "start": 4400, + "end": 4415, "loc": { "start": { - "line": 222, + "line": 231, "column": 34 }, "end": { - "line": 222, + "line": 231, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 4219, - "end": 4232, + "start": 4400, + "end": 4413, "loc": { "start": { - "line": 222, + "line": 231, "column": 34 }, "end": { - "line": 222, + "line": 231, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 4219, - "end": 4223, + "start": 4400, + "end": 4404, "loc": { "start": { - "line": 222, + "line": 231, "column": 34 }, "end": { - "line": 222, + "line": 231, "column": 38 } } }, "property": { "type": "Identifier", - "start": 4224, - "end": 4232, + "start": 4405, + "end": 4413, "loc": { "start": { - "line": 222, + "line": 231, "column": 39 }, "end": { - "line": 222, + "line": 231, "column": 47 }, "identifierName": "toString" @@ -6576,15 +6871,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4063, - "end": 4169, + "start": 4244, + "end": 4350, "loc": { "start": { - "line": 217, + "line": 226, "column": 2 }, "end": { - "line": 220, + "line": 229, "column": 5 } } @@ -6594,15 +6889,15 @@ { "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": 4244, - "end": 4381, + "start": 4425, + "end": 4562, "loc": { "start": { - "line": 225, + "line": 234, "column": 2 }, "end": { - "line": 229, + "line": 238, "column": 5 } } @@ -6611,15 +6906,15 @@ }, { "type": "ClassMethod", - "start": 4384, - "end": 4521, + "start": 4565, + "end": 4702, "loc": { "start": { - "line": 230, + "line": 239, "column": 2 }, "end": { - "line": 237, + "line": 246, "column": 3 } }, @@ -6627,15 +6922,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4384, - "end": 4394, + "start": 4565, + "end": 4575, "loc": { "start": { - "line": 230, + "line": 239, "column": 2 }, "end": { - "line": 230, + "line": 239, "column": 12 }, "identifierName": "is_partial" @@ -6651,73 +6946,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4397, - "end": 4521, + "start": 4578, + "end": 4702, "loc": { "start": { - "line": 230, + "line": 239, "column": 15 }, "end": { - "line": 237, + "line": 246, "column": 3 } }, "body": [ { "type": "ForOfStatement", - "start": 4403, - "end": 4499, + "start": 4584, + "end": 4680, "loc": { "start": { - "line": 231, + "line": 240, "column": 4 }, "end": { - "line": 235, + "line": 244, "column": 5 } }, "left": { "type": "VariableDeclaration", - "start": 4408, - "end": 4416, + "start": 4589, + "end": 4597, "loc": { "start": { - "line": 231, + "line": 240, "column": 9 }, "end": { - "line": 231, + "line": 240, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4412, - "end": 4416, + "start": 4593, + "end": 4597, "loc": { "start": { - "line": 231, + "line": 240, "column": 13 }, "end": { - "line": 231, + "line": 240, "column": 17 } }, "id": { "type": "Identifier", - "start": 4412, - "end": 4416, + "start": 4593, + "end": 4597, "loc": { "start": { - "line": 231, + "line": 240, "column": 13 }, "end": { - "line": 231, + "line": 240, "column": 17 }, "identifierName": "part" @@ -6731,44 +7026,44 @@ }, "right": { "type": "MemberExpression", - "start": 4420, - "end": 4430, + "start": 4601, + "end": 4611, "loc": { "start": { - "line": 231, + "line": 240, "column": 21 }, "end": { - "line": 231, + "line": 240, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4420, - "end": 4424, + "start": 4601, + "end": 4605, "loc": { "start": { - "line": 231, + "line": 240, "column": 21 }, "end": { - "line": 231, + "line": 240, "column": 25 } } }, "property": { "type": "Identifier", - "start": 4425, - "end": 4430, + "start": 4606, + "end": 4611, "loc": { "start": { - "line": 231, + "line": 240, "column": 26 }, "end": { - "line": 231, + "line": 240, "column": 31 }, "identifierName": "parts" @@ -6779,58 +7074,58 @@ }, "body": { "type": "BlockStatement", - "start": 4432, - "end": 4499, + "start": 4613, + "end": 4680, "loc": { "start": { - "line": 231, + "line": 240, "column": 33 }, "end": { - "line": 235, + "line": 244, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 4440, - "end": 4493, + "start": 4621, + "end": 4674, "loc": { "start": { - "line": 232, + "line": 241, "column": 6 }, "end": { - "line": 234, + "line": 243, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 4444, - "end": 4461, + "start": 4625, + "end": 4642, "loc": { "start": { - "line": 232, + "line": 241, "column": 10 }, "end": { - "line": 232, + "line": 241, "column": 27 } }, "left": { "type": "Identifier", - "start": 4444, - "end": 4448, + "start": 4625, + "end": 4629, "loc": { "start": { - "line": 232, + "line": 241, "column": 10 }, "end": { - "line": 232, + "line": 241, "column": 14 }, "identifierName": "part" @@ -6840,15 +7135,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4453, - "end": 4461, + "start": 4634, + "end": 4642, "loc": { "start": { - "line": 232, + "line": 241, "column": 19 }, "end": { - "line": 232, + "line": 241, "column": 27 }, "identifierName": "wildcard" @@ -6858,44 +7153,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 4463, - "end": 4493, + "start": 4644, + "end": 4674, "loc": { "start": { - "line": 232, + "line": 241, "column": 29 }, "end": { - "line": 234, + "line": 243, "column": 7 } }, "body": [ { "type": "ReturnStatement", - "start": 4473, - "end": 4485, + "start": 4654, + "end": 4666, "loc": { "start": { - "line": 233, + "line": 242, "column": 8 }, "end": { - "line": 233, + "line": 242, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 4480, - "end": 4484, + "start": 4661, + "end": 4665, "loc": { "start": { - "line": 233, + "line": 242, "column": 15 }, "end": { - "line": 233, + "line": 242, "column": 19 } }, @@ -6913,29 +7208,29 @@ }, { "type": "ReturnStatement", - "start": 4504, - "end": 4517, + "start": 4685, + "end": 4698, "loc": { "start": { - "line": 236, + "line": 245, "column": 4 }, "end": { - "line": 236, + "line": 245, "column": 17 } }, "argument": { "type": "BooleanLiteral", - "start": 4511, - "end": 4516, + "start": 4692, + "end": 4697, "loc": { "start": { - "line": 236, + "line": 245, "column": 11 }, "end": { - "line": 236, + "line": 245, "column": 16 } }, @@ -6950,15 +7245,15 @@ { "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": 4244, - "end": 4381, + "start": 4425, + "end": 4562, "loc": { "start": { - "line": 225, + "line": 234, "column": 2 }, "end": { - "line": 229, + "line": 238, "column": 5 } } @@ -6968,15 +7263,15 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4525, - "end": 4615, + "start": 4706, + "end": 4796, "loc": { "start": { - "line": 239, + "line": 248, "column": 2 }, "end": { - "line": 242, + "line": 251, "column": 5 } } @@ -6985,15 +7280,15 @@ }, { "type": "ClassMethod", - "start": 4618, - "end": 4952, + "start": 4799, + "end": 5133, "loc": { "start": { - "line": 243, + "line": 252, "column": 2 }, "end": { - "line": 255, + "line": 264, "column": 3 } }, @@ -7001,15 +7296,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4618, - "end": 4630, + "start": 4799, + "end": 4811, "loc": { "start": { - "line": 243, + "line": 252, "column": 2 }, "end": { - "line": 243, + "line": 252, "column": 14 }, "identifierName": "get_position" @@ -7025,87 +7320,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4633, - "end": 4952, + "start": 4814, + "end": 5133, "loc": { "start": { - "line": 243, + "line": 252, "column": 17 }, "end": { - "line": 255, + "line": 264, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 4639, - "end": 4722, + "start": 4820, + "end": 4903, "loc": { "start": { - "line": 244, + "line": 253, "column": 4 }, "end": { - "line": 246, + "line": 255, "column": 5 } }, "test": { "type": "CallExpression", - "start": 4643, - "end": 4660, + "start": 4824, + "end": 4841, "loc": { "start": { - "line": 244, + "line": 253, "column": 8 }, "end": { - "line": 244, + "line": 253, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 4643, - "end": 4658, + "start": 4824, + "end": 4839, "loc": { "start": { - "line": 244, + "line": 253, "column": 8 }, "end": { - "line": 244, + "line": 253, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 4643, - "end": 4647, + "start": 4824, + "end": 4828, "loc": { "start": { - "line": 244, + "line": 253, "column": 8 }, "end": { - "line": 244, + "line": 253, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4648, - "end": 4658, + "start": 4829, + "end": 4839, "loc": { "start": { - "line": 244, + "line": 253, "column": 13 }, "end": { - "line": 244, + "line": 253, "column": 23 }, "identifierName": "is_partial" @@ -7118,44 +7413,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 4662, - "end": 4722, + "start": 4843, + "end": 4903, "loc": { "start": { - "line": 244, + "line": 253, "column": 27 }, "end": { - "line": 246, + "line": 255, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 4670, - "end": 4716, + "start": 4851, + "end": 4897, "loc": { "start": { - "line": 245, + "line": 254, "column": 6 }, "end": { - "line": 245, + "line": 254, "column": 52 } }, "argument": { "type": "StringLiteral", - "start": 4676, - "end": 4715, + "start": 4857, + "end": 4896, "loc": { "start": { - "line": 245, + "line": 254, "column": 12 }, "end": { - "line": 245, + "line": 254, "column": 51 } }, @@ -7173,156 +7468,156 @@ }, { "type": "ReturnStatement", - "start": 4727, - "end": 4948, + "start": 4908, + "end": 5129, "loc": { "start": { - "line": 247, + "line": 256, "column": 4 }, "end": { - "line": 254, + "line": 263, "column": 35 } }, "argument": { "type": "BinaryExpression", - "start": 4734, - "end": 4947, + "start": 4915, + "end": 5128, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 254, + "line": 263, "column": 34 } }, "left": { "type": "BinaryExpression", - "start": 4734, - "end": 4910, + "start": 4915, + "end": 5091, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 253, + "line": 262, "column": 30 } }, "left": { "type": "BinaryExpression", - "start": 4734, - "end": 4877, + "start": 4915, + "end": 5058, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 252, + "line": 261, "column": 27 } }, "left": { "type": "BinaryExpression", - "start": 4734, - "end": 4847, + "start": 4915, + "end": 5028, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 251, + "line": 260, "column": 27 } }, "left": { "type": "BinaryExpression", - "start": 4734, - "end": 4817, + "start": 4915, + "end": 4998, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 250, + "line": 259, "column": 24 } }, "left": { "type": "BinaryExpression", - "start": 4734, - "end": 4790, + "start": 4915, + "end": 4971, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 249, + "line": 258, "column": 20 } }, "left": { "type": "BinaryExpression", - "start": 4734, - "end": 4767, + "start": 4915, + "end": 4948, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 248, + "line": 257, "column": 21 } }, "left": { "type": "MemberExpression", - "start": 4734, - "end": 4743, + "start": 4915, + "end": 4924, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 247, + "line": 256, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 4734, - "end": 4738, + "start": 4915, + "end": 4919, "loc": { "start": { - "line": 247, + "line": 256, "column": 11 }, "end": { - "line": 247, + "line": 256, "column": 15 } } }, "property": { "type": "Identifier", - "start": 4739, - "end": 4743, + "start": 4920, + "end": 4924, "loc": { "start": { - "line": 247, + "line": 256, "column": 16 }, "end": { - "line": 247, + "line": 256, "column": 20 }, "identifierName": "k_in" @@ -7334,58 +7629,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4752, - "end": 4767, + "start": 4933, + "end": 4948, "loc": { "start": { - "line": 248, + "line": 257, "column": 6 }, "end": { - "line": 248, + "line": 257, "column": 21 } }, "left": { "type": "MemberExpression", - "start": 4752, - "end": 4762, + "start": 4933, + "end": 4943, "loc": { "start": { - "line": 248, + "line": 257, "column": 6 }, "end": { - "line": 248, + "line": 257, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 4752, - "end": 4756, + "start": 4933, + "end": 4937, "loc": { "start": { - "line": 248, + "line": 257, "column": 6 }, "end": { - "line": 248, + "line": 257, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4757, - "end": 4762, + "start": 4938, + "end": 4943, "loc": { "start": { - "line": 248, + "line": 257, "column": 11 }, "end": { - "line": 248, + "line": 257, "column": 16 }, "identifierName": "winal" @@ -7397,15 +7692,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4765, - "end": 4767, + "start": 4946, + "end": 4948, "loc": { "start": { - "line": 248, + "line": 257, "column": 19 }, "end": { - "line": 248, + "line": 257, "column": 21 } }, @@ -7420,58 +7715,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4776, - "end": 4790, + "start": 4957, + "end": 4971, "loc": { "start": { - "line": 249, + "line": 258, "column": 6 }, "end": { - "line": 249, + "line": 258, "column": 20 } }, "left": { "type": "MemberExpression", - "start": 4776, - "end": 4784, + "start": 4957, + "end": 4965, "loc": { "start": { - "line": 249, + "line": 258, "column": 6 }, "end": { - "line": 249, + "line": 258, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 4776, - "end": 4780, + "start": 4957, + "end": 4961, "loc": { "start": { - "line": 249, + "line": 258, "column": 6 }, "end": { - "line": 249, + "line": 258, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4781, - "end": 4784, + "start": 4962, + "end": 4965, "loc": { "start": { - "line": 249, + "line": 258, "column": 11 }, "end": { - "line": 249, + "line": 258, "column": 14 }, "identifierName": "tun" @@ -7483,15 +7778,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4787, - "end": 4790, + "start": 4968, + "end": 4971, "loc": { "start": { - "line": 249, + "line": 258, "column": 17 }, "end": { - "line": 249, + "line": 258, "column": 20 } }, @@ -7506,58 +7801,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4799, - "end": 4817, + "start": 4980, + "end": 4998, "loc": { "start": { - "line": 250, + "line": 259, "column": 6 }, "end": { - "line": 250, + "line": 259, "column": 24 } }, "left": { "type": "MemberExpression", - "start": 4799, - "end": 4810, + "start": 4980, + "end": 4991, "loc": { "start": { - "line": 250, + "line": 259, "column": 6 }, "end": { - "line": 250, + "line": 259, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4799, - "end": 4803, + "start": 4980, + "end": 4984, "loc": { "start": { - "line": 250, + "line": 259, "column": 6 }, "end": { - "line": 250, + "line": 259, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4804, - "end": 4810, + "start": 4985, + "end": 4991, "loc": { "start": { - "line": 250, + "line": 259, "column": 11 }, "end": { - "line": 250, + "line": 259, "column": 17 }, "identifierName": "k_atun" @@ -7569,15 +7864,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4813, - "end": 4817, + "start": 4994, + "end": 4998, "loc": { "start": { - "line": 250, + "line": 259, "column": 20 }, "end": { - "line": 250, + "line": 259, "column": 24 } }, @@ -7592,58 +7887,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4826, - "end": 4847, + "start": 5007, + "end": 5028, "loc": { "start": { - "line": 251, + "line": 260, "column": 6 }, "end": { - "line": 251, + "line": 260, "column": 27 } }, "left": { "type": "MemberExpression", - "start": 4826, - "end": 4838, + "start": 5007, + "end": 5019, "loc": { "start": { - "line": 251, + "line": 260, "column": 6 }, "end": { - "line": 251, + "line": 260, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4826, - "end": 4830, + "start": 5007, + "end": 5011, "loc": { "start": { - "line": 251, + "line": 260, "column": 6 }, "end": { - "line": 251, + "line": 260, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4831, - "end": 4838, + "start": 5012, + "end": 5019, "loc": { "start": { - "line": 251, + "line": 260, "column": 11 }, "end": { - "line": 251, + "line": 260, "column": 18 }, "identifierName": "bak_tun" @@ -7655,15 +7950,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4841, - "end": 4847, + "start": 5022, + "end": 5028, "loc": { "start": { - "line": 251, + "line": 260, "column": 21 }, "end": { - "line": 251, + "line": 260, "column": 27 } }, @@ -7678,58 +7973,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4856, - "end": 4877, + "start": 5037, + "end": 5058, "loc": { "start": { - "line": 252, + "line": 261, "column": 6 }, "end": { - "line": 252, + "line": 261, "column": 27 } }, "left": { "type": "MemberExpression", - "start": 4856, - "end": 4867, + "start": 5037, + "end": 5048, "loc": { "start": { - "line": 252, + "line": 261, "column": 6 }, "end": { - "line": 252, + "line": 261, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4856, - "end": 4860, + "start": 5037, + "end": 5041, "loc": { "start": { - "line": 252, + "line": 261, "column": 6 }, "end": { - "line": 252, + "line": 261, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4861, - "end": 4867, + "start": 5042, + "end": 5048, "loc": { "start": { - "line": 252, + "line": 261, "column": 11 }, "end": { - "line": 252, + "line": 261, "column": 17 }, "identifierName": "piktun" @@ -7741,15 +8036,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4870, - "end": 4877, + "start": 5051, + "end": 5058, "loc": { "start": { - "line": 252, + "line": 261, "column": 20 }, "end": { - "line": 252, + "line": 261, "column": 27 } }, @@ -7764,58 +8059,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4886, - "end": 4910, + "start": 5067, + "end": 5091, "loc": { "start": { - "line": 253, + "line": 262, "column": 6 }, "end": { - "line": 253, + "line": 262, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 4886, - "end": 4899, + "start": 5067, + "end": 5080, "loc": { "start": { - "line": 253, + "line": 262, "column": 6 }, "end": { - "line": 253, + "line": 262, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4886, - "end": 4890, + "start": 5067, + "end": 5071, "loc": { "start": { - "line": 253, + "line": 262, "column": 6 }, "end": { - "line": 253, + "line": 262, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4891, - "end": 4899, + "start": 5072, + "end": 5080, "loc": { "start": { - "line": 253, + "line": 262, "column": 11 }, "end": { - "line": 253, + "line": 262, "column": 19 }, "identifierName": "kalabtun" @@ -7827,15 +8122,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4902, - "end": 4910, + "start": 5083, + "end": 5091, "loc": { "start": { - "line": 253, + "line": 262, "column": 22 }, "end": { - "line": 253, + "line": 262, "column": 30 } }, @@ -7850,58 +8145,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4919, - "end": 4947, + "start": 5100, + "end": 5128, "loc": { "start": { - "line": 254, + "line": 263, "column": 6 }, "end": { - "line": 254, + "line": 263, "column": 34 } }, "left": { "type": "MemberExpression", - "start": 4919, - "end": 4934, + "start": 5100, + "end": 5115, "loc": { "start": { - "line": 254, + "line": 263, "column": 6 }, "end": { - "line": 254, + "line": 263, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 4919, - "end": 4923, + "start": 5100, + "end": 5104, "loc": { "start": { - "line": 254, + "line": 263, "column": 6 }, "end": { - "line": 254, + "line": 263, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4924, - "end": 4934, + "start": 5105, + "end": 5115, "loc": { "start": { - "line": 254, + "line": 263, "column": 11 }, "end": { - "line": 254, + "line": 263, "column": 21 }, "identifierName": "kinchiltun" @@ -7913,15 +8208,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4937, - "end": 4947, + "start": 5118, + "end": 5128, "loc": { "start": { - "line": 254, + "line": 263, "column": 24 }, "end": { - "line": 254, + "line": 263, "column": 34 } }, @@ -7942,15 +8237,15 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4525, - "end": 4615, + "start": 4706, + "end": 4796, "loc": { "start": { - "line": 239, + "line": 248, "column": 2 }, "end": { - "line": 242, + "line": 251, "column": 5 } } @@ -7960,15 +8255,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4956, - "end": 4999, + "start": 5137, + "end": 5180, "loc": { "start": { - "line": 257, + "line": 266, "column": 2 }, "end": { - "line": 260, + "line": 269, "column": 5 } } @@ -7977,15 +8272,15 @@ }, { "type": "ClassMethod", - "start": 5002, - "end": 5089, + "start": 5183, + "end": 5270, "loc": { "start": { - "line": 261, + "line": 270, "column": 2 }, "end": { - "line": 265, + "line": 274, "column": 3 } }, @@ -7993,15 +8288,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5002, - "end": 5022, + "start": 5183, + "end": 5203, "loc": { "start": { - "line": 261, + "line": 270, "column": 2 }, "end": { - "line": 261, + "line": 270, "column": 22 }, "identifierName": "build_calendar_round" @@ -8017,72 +8312,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5025, - "end": 5089, + "start": 5206, + "end": 5270, "loc": { "start": { - "line": 261, + "line": 270, "column": 25 }, "end": { - "line": 265, + "line": 274, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 5031, - "end": 5085, + "start": 5212, + "end": 5266, "loc": { "start": { - "line": 262, + "line": 271, "column": 4 }, "end": { - "line": 264, + "line": 273, "column": 6 } }, "argument": { "type": "CallExpression", - "start": 5038, - "end": 5084, + "start": 5219, + "end": 5265, "loc": { "start": { - "line": 262, + "line": 271, "column": 11 }, "end": { - "line": 264, + "line": 273, "column": 5 } }, "callee": { "type": "MemberExpression", - "start": 5038, - "end": 5050, + "start": 5219, + "end": 5231, "loc": { "start": { - "line": 262, + "line": 271, "column": 11 }, "end": { - "line": 262, + "line": 271, "column": 23 } }, "object": { "type": "Identifier", - "start": 5038, - "end": 5044, + "start": 5219, + "end": 5225, "loc": { "start": { - "line": 262, + "line": 271, "column": 11 }, "end": { - "line": 262, + "line": 271, "column": 17 }, "identifierName": "origin" @@ -8091,15 +8386,15 @@ }, "property": { "type": "Identifier", - "start": 5045, - "end": 5050, + "start": 5226, + "end": 5231, "loc": { "start": { - "line": 262, + "line": 271, "column": 18 }, "end": { - "line": 262, + "line": 271, "column": 23 }, "identifierName": "shift" @@ -8111,58 +8406,58 @@ "arguments": [ { "type": "CallExpression", - "start": 5058, - "end": 5077, + "start": 5239, + "end": 5258, "loc": { "start": { - "line": 263, + "line": 272, "column": 6 }, "end": { - "line": 263, + "line": 272, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 5058, - "end": 5075, + "start": 5239, + "end": 5256, "loc": { "start": { - "line": 263, + "line": 272, "column": 6 }, "end": { - "line": 263, + "line": 272, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 5058, - "end": 5062, + "start": 5239, + "end": 5243, "loc": { "start": { - "line": 263, + "line": 272, "column": 6 }, "end": { - "line": 263, + "line": 272, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5063, - "end": 5075, + "start": 5244, + "end": 5256, "loc": { "start": { - "line": 263, + "line": 272, "column": 11 }, "end": { - "line": 263, + "line": 272, "column": 23 }, "identifierName": "get_position" @@ -8184,15 +8479,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4956, - "end": 4999, + "start": 5137, + "end": 5180, "loc": { "start": { - "line": 257, + "line": 266, "column": 2 }, "end": { - "line": 260, + "line": 269, "column": 5 } } @@ -8202,15 +8497,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5093, - "end": 5131, + "start": 5274, + "end": 5312, "loc": { "start": { - "line": 267, + "line": 276, "column": 2 }, "end": { - "line": 270, + "line": 279, "column": 5 } } @@ -8219,15 +8514,15 @@ }, { "type": "ClassMethod", - "start": 5134, - "end": 5244, + "start": 5315, + "end": 5425, "loc": { "start": { - "line": 271, + "line": 280, "column": 2 }, "end": { - "line": 276, + "line": 285, "column": 3 } }, @@ -8235,15 +8530,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5134, - "end": 5149, + "start": 5315, + "end": 5330, "loc": { "start": { - "line": 271, + "line": 280, "column": 2 }, "end": { - "line": 271, + "line": 280, "column": 17 }, "identifierName": "build_full_date" @@ -8259,58 +8554,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5152, - "end": 5244, + "start": 5333, + "end": 5425, "loc": { "start": { - "line": 271, + "line": 280, "column": 20 }, "end": { - "line": 276, + "line": 285, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 5158, - "end": 5240, + "start": 5339, + "end": 5421, "loc": { "start": { - "line": 272, + "line": 281, "column": 4 }, "end": { - "line": 275, + "line": 284, "column": 6 } }, "argument": { "type": "NewExpression", - "start": 5165, - "end": 5239, + "start": 5346, + "end": 5420, "loc": { "start": { - "line": 272, + "line": 281, "column": 11 }, "end": { - "line": 275, + "line": 284, "column": 5 } }, "callee": { "type": "Identifier", - "start": 5169, - "end": 5177, + "start": 5350, + "end": 5358, "loc": { "start": { - "line": 272, + "line": 281, "column": 15 }, "end": { - "line": 272, + "line": 281, "column": 23 }, "identifierName": "FullDate" @@ -8320,58 +8615,58 @@ "arguments": [ { "type": "CallExpression", - "start": 5185, - "end": 5212, + "start": 5366, + "end": 5393, "loc": { "start": { - "line": 273, + "line": 282, "column": 6 }, "end": { - "line": 273, + "line": 282, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 5185, - "end": 5210, + "start": 5366, + "end": 5391, "loc": { "start": { - "line": 273, + "line": 282, "column": 6 }, "end": { - "line": 273, + "line": 282, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5185, - "end": 5189, + "start": 5366, + "end": 5370, "loc": { "start": { - "line": 273, + "line": 282, "column": 6 }, "end": { - "line": 273, + "line": 282, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5190, - "end": 5210, + "start": 5371, + "end": 5391, "loc": { "start": { - "line": 273, + "line": 282, "column": 11 }, "end": { - "line": 273, + "line": 282, "column": 31 }, "identifierName": "build_calendar_round" @@ -8384,58 +8679,58 @@ }, { "type": "CallExpression", - "start": 5220, - "end": 5232, + "start": 5401, + "end": 5413, "loc": { "start": { - "line": 274, + "line": 283, "column": 6 }, "end": { - "line": 274, + "line": 283, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 5220, - "end": 5230, + "start": 5401, + "end": 5411, "loc": { "start": { - "line": 274, + "line": 283, "column": 6 }, "end": { - "line": 274, + "line": 283, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 5220, - "end": 5224, + "start": 5401, + "end": 5405, "loc": { "start": { - "line": 274, + "line": 283, "column": 6 }, "end": { - "line": 274, + "line": 283, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5225, - "end": 5230, + "start": 5406, + "end": 5411, "loc": { "start": { - "line": 274, + "line": 283, "column": 11 }, "end": { - "line": 274, + "line": 283, "column": 16 }, "identifierName": "clone" @@ -8457,15 +8752,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5093, - "end": 5131, + "start": 5274, + "end": 5312, "loc": { "start": { - "line": 267, + "line": 276, "column": 2 }, "end": { - "line": 270, + "line": 279, "column": 5 } } @@ -8475,15 +8770,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5248, - "end": 5352, + "start": 5429, + "end": 5533, "loc": { "start": { - "line": 278, + "line": 287, "column": 2 }, "end": { - "line": 281, + "line": 290, "column": 5 } } @@ -8492,15 +8787,15 @@ }, { "type": "ClassMethod", - "start": 5355, - "end": 6188, + "start": 5536, + "end": 6483, "loc": { "start": { - "line": 282, + "line": 291, "column": 2 }, "end": { - "line": 312, + "line": 323, "column": 3 } }, @@ -8508,15 +8803,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5355, - "end": 5363, + "start": 5536, + "end": 5544, "loc": { "start": { - "line": 282, + "line": 291, "column": 2 }, "end": { - "line": 282, + "line": 291, "column": 10 }, "identifierName": "toString" @@ -8532,59 +8827,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5366, - "end": 6188, + "start": 5547, + "end": 6483, "loc": { "start": { - "line": 282, + "line": 291, "column": 13 }, "end": { - "line": 312, + "line": 323, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 5372, - "end": 5400, + "start": 5553, + "end": 5581, "loc": { "start": { - "line": 283, + "line": 292, "column": 4 }, "end": { - "line": 283, + "line": 292, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5376, - "end": 5399, + "start": 5557, + "end": 5580, "loc": { "start": { - "line": 283, + "line": 292, "column": 8 }, "end": { - "line": 283, + "line": 292, "column": 31 } }, "id": { "type": "Identifier", - "start": 5376, - "end": 5394, + "start": 5557, + "end": 5575, "loc": { "start": { - "line": 283, + "line": 292, "column": 8 }, "end": { - "line": 283, + "line": 292, "column": 26 }, "identifierName": "significant_digits" @@ -8593,15 +8888,15 @@ }, "init": { "type": "ArrayExpression", - "start": 5397, - "end": 5399, + "start": 5578, + "end": 5580, "loc": { "start": { - "line": 283, + "line": 292, "column": 29 }, "end": { - "line": 283, + "line": 292, "column": 31 } }, @@ -8613,58 +8908,58 @@ }, { "type": "ForStatement", - "start": 5405, - "end": 5607, + "start": 5586, + "end": 5788, "loc": { "start": { - "line": 284, + "line": 293, "column": 4 }, "end": { - "line": 290, + "line": 299, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 5410, - "end": 5439, + "start": 5591, + "end": 5620, "loc": { "start": { - "line": 284, + "line": 293, "column": 9 }, "end": { - "line": 284, + "line": 293, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5414, - "end": 5439, + "start": 5595, + "end": 5620, "loc": { "start": { - "line": 284, + "line": 293, "column": 13 }, "end": { - "line": 284, + "line": 293, "column": 38 } }, "id": { "type": "Identifier", - "start": 5414, - "end": 5415, + "start": 5595, + "end": 5596, "loc": { "start": { - "line": 284, + "line": 293, "column": 13 }, "end": { - "line": 284, + "line": 293, "column": 14 }, "identifierName": "i" @@ -8673,72 +8968,72 @@ }, "init": { "type": "BinaryExpression", - "start": 5418, - "end": 5439, + "start": 5599, + "end": 5620, "loc": { "start": { - "line": 284, + "line": 293, "column": 17 }, "end": { - "line": 284, + "line": 293, "column": 38 } }, "left": { "type": "MemberExpression", - "start": 5418, - "end": 5435, + "start": 5599, + "end": 5616, "loc": { "start": { - "line": 284, + "line": 293, "column": 17 }, "end": { - "line": 284, + "line": 293, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5418, - "end": 5428, + "start": 5599, + "end": 5609, "loc": { "start": { - "line": 284, + "line": 293, "column": 17 }, "end": { - "line": 284, + "line": 293, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5418, - "end": 5422, + "start": 5599, + "end": 5603, "loc": { "start": { - "line": 284, + "line": 293, "column": 17 }, "end": { - "line": 284, + "line": 293, "column": 21 } } }, "property": { "type": "Identifier", - "start": 5423, - "end": 5428, + "start": 5604, + "end": 5609, "loc": { "start": { - "line": 284, + "line": 293, "column": 22 }, "end": { - "line": 284, + "line": 293, "column": 27 }, "identifierName": "parts" @@ -8749,15 +9044,15 @@ }, "property": { "type": "Identifier", - "start": 5429, - "end": 5435, + "start": 5610, + "end": 5616, "loc": { "start": { - "line": 284, + "line": 293, "column": 28 }, "end": { - "line": 284, + "line": 293, "column": 34 }, "identifierName": "length" @@ -8769,15 +9064,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 5438, - "end": 5439, + "start": 5619, + "end": 5620, "loc": { "start": { - "line": 284, + "line": 293, "column": 37 }, "end": { - "line": 284, + "line": 293, "column": 38 } }, @@ -8794,29 +9089,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5441, - "end": 5447, + "start": 5622, + "end": 5628, "loc": { "start": { - "line": 284, + "line": 293, "column": 40 }, "end": { - "line": 284, + "line": 293, "column": 46 } }, "left": { "type": "Identifier", - "start": 5441, - "end": 5442, + "start": 5622, + "end": 5623, "loc": { "start": { - "line": 284, + "line": 293, "column": 40 }, "end": { - "line": 284, + "line": 293, "column": 41 }, "identifierName": "i" @@ -8826,15 +9121,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 5446, - "end": 5447, + "start": 5627, + "end": 5628, "loc": { "start": { - "line": 284, + "line": 293, "column": 45 }, "end": { - "line": 284, + "line": 293, "column": 46 } }, @@ -8847,15 +9142,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5449, - "end": 5452, + "start": 5630, + "end": 5633, "loc": { "start": { - "line": 284, + "line": 293, "column": 48 }, "end": { - "line": 284, + "line": 293, "column": 51 } }, @@ -8863,15 +9158,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5449, - "end": 5450, + "start": 5630, + "end": 5631, "loc": { "start": { - "line": 284, + "line": 293, "column": 48 }, "end": { - "line": 284, + "line": 293, "column": 49 }, "identifierName": "i" @@ -8881,59 +9176,59 @@ }, "body": { "type": "BlockStatement", - "start": 5454, - "end": 5607, + "start": 5635, + "end": 5788, "loc": { "start": { - "line": 284, + "line": 293, "column": 53 }, "end": { - "line": 290, + "line": 299, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 5462, - "end": 5487, + "start": 5643, + "end": 5668, "loc": { "start": { - "line": 285, + "line": 294, "column": 6 }, "end": { - "line": 285, + "line": 294, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5466, - "end": 5486, + "start": 5647, + "end": 5667, "loc": { "start": { - "line": 285, + "line": 294, "column": 10 }, "end": { - "line": 285, + "line": 294, "column": 30 } }, "id": { "type": "Identifier", - "start": 5466, - "end": 5470, + "start": 5647, + "end": 5651, "loc": { "start": { - "line": 285, + "line": 294, "column": 10 }, "end": { - "line": 285, + "line": 294, "column": 14 }, "identifierName": "part" @@ -8942,58 +9237,58 @@ }, "init": { "type": "MemberExpression", - "start": 5473, - "end": 5486, + "start": 5654, + "end": 5667, "loc": { "start": { - "line": 285, + "line": 294, "column": 17 }, "end": { - "line": 285, + "line": 294, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 5473, - "end": 5483, + "start": 5654, + "end": 5664, "loc": { "start": { - "line": 285, + "line": 294, "column": 17 }, "end": { - "line": 285, + "line": 294, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5473, - "end": 5477, + "start": 5654, + "end": 5658, "loc": { "start": { - "line": 285, + "line": 294, "column": 17 }, "end": { - "line": 285, + "line": 294, "column": 21 } } }, "property": { "type": "Identifier", - "start": 5478, - "end": 5483, + "start": 5659, + "end": 5664, "loc": { "start": { - "line": 285, + "line": 294, "column": 22 }, "end": { - "line": 285, + "line": 294, "column": 27 }, "identifierName": "parts" @@ -9004,15 +9299,15 @@ }, "property": { "type": "Identifier", - "start": 5484, - "end": 5485, + "start": 5665, + "end": 5666, "loc": { "start": { - "line": 285, + "line": 294, "column": 28 }, "end": { - "line": 285, + "line": 294, "column": 29 }, "identifierName": "i" @@ -9027,43 +9322,43 @@ }, { "type": "IfStatement", - "start": 5494, - "end": 5601, + "start": 5675, + "end": 5782, "loc": { "start": { - "line": 286, + "line": 295, "column": 6 }, "end": { - "line": 289, + "line": 298, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 5498, - "end": 5508, + "start": 5679, + "end": 5689, "loc": { "start": { - "line": 286, + "line": 295, "column": 10 }, "end": { - "line": 286, + "line": 295, "column": 20 } }, "left": { "type": "Identifier", - "start": 5498, - "end": 5502, + "start": 5679, + "end": 5683, "loc": { "start": { - "line": 286, + "line": 295, "column": 10 }, "end": { - "line": 286, + "line": 295, "column": 14 }, "identifierName": "part" @@ -9073,15 +9368,15 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 5507, - "end": 5508, + "start": 5688, + "end": 5689, "loc": { "start": { - "line": 286, + "line": 295, "column": 19 }, "end": { - "line": 286, + "line": 295, "column": 20 } }, @@ -9094,59 +9389,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 5510, - "end": 5601, + "start": 5691, + "end": 5782, "loc": { "start": { - "line": 286, + "line": 295, "column": 22 }, "end": { - "line": 289, + "line": 298, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 5520, - "end": 5578, + "start": 5701, + "end": 5759, "loc": { "start": { - "line": 287, + "line": 296, "column": 8 }, "end": { - "line": 287, + "line": 296, "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 5520, - "end": 5577, + "start": 5701, + "end": 5758, "loc": { "start": { - "line": 287, + "line": 296, "column": 8 }, "end": { - "line": 287, + "line": 296, "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5520, - "end": 5538, + "start": 5701, + "end": 5719, "loc": { "start": { - "line": 287, + "line": 296, "column": 8 }, "end": { - "line": 287, + "line": 296, "column": 26 }, "identifierName": "significant_digits" @@ -9155,100 +9450,100 @@ }, "right": { "type": "CallExpression", - "start": 5541, - "end": 5577, + "start": 5722, + "end": 5758, "loc": { "start": { - "line": 287, + "line": 296, "column": 29 }, "end": { - "line": 287, + "line": 296, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 5541, - "end": 5575, + "start": 5722, + "end": 5756, "loc": { "start": { - "line": 287, + "line": 296, "column": 29 }, "end": { - "line": 287, + "line": 296, "column": 63 } }, "object": { "type": "CallExpression", - "start": 5541, - "end": 5567, + "start": 5722, + "end": 5748, "loc": { "start": { - "line": 287, + "line": 296, "column": 29 }, "end": { - "line": 287, + "line": 296, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 5541, - "end": 5557, + "start": 5722, + "end": 5738, "loc": { "start": { - "line": 287, + "line": 296, "column": 29 }, "end": { - "line": 287, + "line": 296, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 5541, - "end": 5551, + "start": 5722, + "end": 5732, "loc": { "start": { - "line": 287, + "line": 296, "column": 29 }, "end": { - "line": 287, + "line": 296, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 5541, - "end": 5545, + "start": 5722, + "end": 5726, "loc": { "start": { - "line": 287, + "line": 296, "column": 29 }, "end": { - "line": 287, + "line": 296, "column": 33 } } }, "property": { "type": "Identifier", - "start": 5546, - "end": 5551, + "start": 5727, + "end": 5732, "loc": { "start": { - "line": 287, + "line": 296, "column": 34 }, "end": { - "line": 287, + "line": 296, "column": 39 }, "identifierName": "parts" @@ -9259,15 +9554,15 @@ }, "property": { "type": "Identifier", - "start": 5552, - "end": 5557, + "start": 5733, + "end": 5738, "loc": { "start": { - "line": 287, + "line": 296, "column": 40 }, "end": { - "line": 287, + "line": 296, "column": 45 }, "identifierName": "slice" @@ -9279,15 +9574,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5558, - "end": 5559, + "start": 5739, + "end": 5740, "loc": { "start": { - "line": 287, + "line": 296, "column": 46 }, "end": { - "line": 287, + "line": 296, "column": 47 } }, @@ -9299,29 +9594,29 @@ }, { "type": "BinaryExpression", - "start": 5561, - "end": 5566, + "start": 5742, + "end": 5747, "loc": { "start": { - "line": 287, + "line": 296, "column": 49 }, "end": { - "line": 287, + "line": 296, "column": 54 } }, "left": { "type": "Identifier", - "start": 5561, - "end": 5562, + "start": 5742, + "end": 5743, "loc": { "start": { - "line": 287, + "line": 296, "column": 49 }, "end": { - "line": 287, + "line": 296, "column": 50 }, "identifierName": "i" @@ -9331,15 +9626,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 5565, - "end": 5566, + "start": 5746, + "end": 5747, "loc": { "start": { - "line": 287, + "line": 296, "column": 53 }, "end": { - "line": 287, + "line": 296, "column": 54 } }, @@ -9354,15 +9649,15 @@ }, "property": { "type": "Identifier", - "start": 5568, - "end": 5575, + "start": 5749, + "end": 5756, "loc": { "start": { - "line": 287, + "line": 296, "column": 56 }, "end": { - "line": 287, + "line": 296, "column": 63 }, "identifierName": "reverse" @@ -9377,15 +9672,15 @@ }, { "type": "BreakStatement", - "start": 5587, - "end": 5593, + "start": 5768, + "end": 5774, "loc": { "start": { - "line": 288, + "line": 297, "column": 8 }, "end": { - "line": 288, + "line": 297, "column": 14 } }, @@ -9402,58 +9697,58 @@ }, { "type": "ForStatement", - "start": 5613, - "end": 5766, + "start": 5794, + "end": 5947, "loc": { "start": { - "line": 292, + "line": 301, "column": 4 }, "end": { - "line": 296, + "line": 305, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 5618, - "end": 5627, + "start": 5799, + "end": 5808, "loc": { "start": { - "line": 292, + "line": 301, "column": 9 }, "end": { - "line": 292, + "line": 301, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5622, - "end": 5627, + "start": 5803, + "end": 5808, "loc": { "start": { - "line": 292, + "line": 301, "column": 13 }, "end": { - "line": 292, + "line": 301, "column": 18 } }, "id": { "type": "Identifier", - "start": 5622, - "end": 5623, + "start": 5803, + "end": 5804, "loc": { "start": { - "line": 292, + "line": 301, "column": 13 }, "end": { - "line": 292, + "line": 301, "column": 14 }, "identifierName": "i" @@ -9462,15 +9757,15 @@ }, "init": { "type": "NumericLiteral", - "start": 5626, - "end": 5627, + "start": 5807, + "end": 5808, "loc": { "start": { - "line": 292, + "line": 301, "column": 17 }, "end": { - "line": 292, + "line": 301, "column": 18 } }, @@ -9486,29 +9781,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5629, - "end": 5658, + "start": 5810, + "end": 5839, "loc": { "start": { - "line": 292, + "line": 301, "column": 20 }, "end": { - "line": 292, + "line": 301, "column": 49 } }, "left": { "type": "Identifier", - "start": 5629, - "end": 5630, + "start": 5810, + "end": 5811, "loc": { "start": { - "line": 292, + "line": 301, "column": 20 }, "end": { - "line": 292, + "line": 301, "column": 21 }, "identifierName": "i" @@ -9518,29 +9813,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5633, - "end": 5658, + "start": 5814, + "end": 5839, "loc": { "start": { - "line": 292, + "line": 301, "column": 24 }, "end": { - "line": 292, + "line": 301, "column": 49 } }, "object": { "type": "Identifier", - "start": 5633, - "end": 5651, + "start": 5814, + "end": 5832, "loc": { "start": { - "line": 292, + "line": 301, "column": 24 }, "end": { - "line": 292, + "line": 301, "column": 42 }, "identifierName": "significant_digits" @@ -9549,15 +9844,15 @@ }, "property": { "type": "Identifier", - "start": 5652, - "end": 5658, + "start": 5833, + "end": 5839, "loc": { "start": { - "line": 292, + "line": 301, "column": 43 }, "end": { - "line": 292, + "line": 301, "column": 49 }, "identifierName": "length" @@ -9569,15 +9864,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5660, - "end": 5663, + "start": 5841, + "end": 5844, "loc": { "start": { - "line": 292, + "line": 301, "column": 51 }, "end": { - "line": 292, + "line": 301, "column": 54 } }, @@ -9585,15 +9880,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5660, - "end": 5661, + "start": 5841, + "end": 5842, "loc": { "start": { - "line": 292, + "line": 301, "column": 51 }, "end": { - "line": 292, + "line": 301, "column": 52 }, "identifierName": "i" @@ -9603,72 +9898,72 @@ }, "body": { "type": "BlockStatement", - "start": 5665, - "end": 5766, + "start": 5846, + "end": 5947, "loc": { "start": { - "line": 292, + "line": 301, "column": 56 }, "end": { - "line": 296, + "line": 305, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 5673, - "end": 5760, + "start": 5854, + "end": 5941, "loc": { "start": { - "line": 293, + "line": 302, "column": 6 }, "end": { - "line": 295, + "line": 304, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 5677, - "end": 5712, + "start": 5858, + "end": 5893, "loc": { "start": { - "line": 293, + "line": 302, "column": 10 }, "end": { - "line": 293, + "line": 302, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 5677, - "end": 5698, + "start": 5858, + "end": 5879, "loc": { "start": { - "line": 293, + "line": 302, "column": 10 }, "end": { - "line": 293, + "line": 302, "column": 31 } }, "object": { "type": "Identifier", - "start": 5677, - "end": 5695, + "start": 5858, + "end": 5876, "loc": { "start": { - "line": 293, + "line": 302, "column": 10 }, "end": { - "line": 293, + "line": 302, "column": 28 }, "identifierName": "significant_digits" @@ -9677,15 +9972,15 @@ }, "property": { "type": "Identifier", - "start": 5696, - "end": 5697, + "start": 5877, + "end": 5878, "loc": { "start": { - "line": 293, + "line": 302, "column": 29 }, "end": { - "line": 293, + "line": 302, "column": 30 }, "identifierName": "i" @@ -9697,15 +9992,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5703, - "end": 5712, + "start": 5884, + "end": 5893, "loc": { "start": { - "line": 293, + "line": 302, "column": 36 }, "end": { - "line": 293, + "line": 302, "column": 45 }, "identifierName": "undefined" @@ -9715,73 +10010,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5714, - "end": 5760, + "start": 5895, + "end": 5941, "loc": { "start": { - "line": 293, + "line": 302, "column": 47 }, "end": { - "line": 295, + "line": 304, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 5724, - "end": 5752, + "start": 5905, + "end": 5933, "loc": { "start": { - "line": 294, + "line": 303, "column": 8 }, "end": { - "line": 294, + "line": 303, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 5724, - "end": 5751, + "start": 5905, + "end": 5932, "loc": { "start": { - "line": 294, + "line": 303, "column": 8 }, "end": { - "line": 294, + "line": 303, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5724, - "end": 5745, + "start": 5905, + "end": 5926, "loc": { "start": { - "line": 294, + "line": 303, "column": 8 }, "end": { - "line": 294, + "line": 303, "column": 29 } }, "object": { "type": "Identifier", - "start": 5724, - "end": 5742, + "start": 5905, + "end": 5923, "loc": { "start": { - "line": 294, + "line": 303, "column": 8 }, "end": { - "line": 294, + "line": 303, "column": 26 }, "identifierName": "significant_digits" @@ -9790,15 +10085,15 @@ }, "property": { "type": "Identifier", - "start": 5743, - "end": 5744, + "start": 5924, + "end": 5925, "loc": { "start": { - "line": 294, + "line": 303, "column": 27 }, "end": { - "line": 294, + "line": 303, "column": 28 }, "identifierName": "i" @@ -9809,15 +10104,15 @@ }, "right": { "type": "StringLiteral", - "start": 5748, - "end": 5751, + "start": 5929, + "end": 5932, "loc": { "start": { - "line": 294, + "line": 303, "column": 32 }, "end": { - "line": 294, + "line": 303, "column": 35 } }, @@ -9840,44 +10135,44 @@ }, { "type": "VariableDeclaration", - "start": 5772, - "end": 5816, + "start": 5953, + "end": 5997, "loc": { "start": { - "line": 298, + "line": 307, "column": 4 }, "end": { - "line": 298, + "line": 307, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5776, - "end": 5815, + "start": 5957, + "end": 5996, "loc": { "start": { - "line": 298, + "line": 307, "column": 8 }, "end": { - "line": 298, + "line": 307, "column": 47 } }, "id": { "type": "Identifier", - "start": 5776, - "end": 5787, + "start": 5957, + "end": 5968, "loc": { "start": { - "line": 298, + "line": 307, "column": 8 }, "end": { - "line": 298, + "line": 307, "column": 19 }, "identifierName": "date_length" @@ -9886,29 +10181,29 @@ }, "init": { "type": "MemberExpression", - "start": 5790, - "end": 5815, + "start": 5971, + "end": 5996, "loc": { "start": { - "line": 298, + "line": 307, "column": 22 }, "end": { - "line": 298, + "line": 307, "column": 47 } }, "object": { "type": "Identifier", - "start": 5790, - "end": 5808, + "start": 5971, + "end": 5989, "loc": { "start": { - "line": 298, + "line": 307, "column": 22 }, "end": { - "line": 298, + "line": 307, "column": 40 }, "identifierName": "significant_digits" @@ -9917,15 +10212,15 @@ }, "property": { "type": "Identifier", - "start": 5809, - "end": 5815, + "start": 5990, + "end": 5996, "loc": { "start": { - "line": 298, + "line": 307, "column": 41 }, "end": { - "line": 298, + "line": 307, "column": 47 }, "identifierName": "length" @@ -9940,43 +10235,43 @@ }, { "type": "IfStatement", - "start": 5821, - "end": 5946, + "start": 6002, + "end": 6241, "loc": { "start": { - "line": 299, + "line": 308, "column": 4 }, "end": { - "line": 303, + "line": 314, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 5825, - "end": 5840, + "start": 6006, + "end": 6021, "loc": { "start": { - "line": 299, + "line": 308, "column": 8 }, "end": { - "line": 299, + "line": 308, "column": 23 } }, "left": { "type": "Identifier", - "start": 5825, - "end": 5836, + "start": 6006, + "end": 6017, "loc": { "start": { - "line": 299, + "line": 308, "column": 8 }, "end": { - "line": 299, + "line": 308, "column": 19 }, "identifierName": "date_length" @@ -9986,15 +10281,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 5839, - "end": 5840, + "start": 6020, + "end": 6021, "loc": { "start": { - "line": 299, + "line": 308, "column": 22 }, "end": { - "line": 299, + "line": 308, "column": 23 } }, @@ -10007,73 +10302,187 @@ }, "consequent": { "type": "BlockStatement", - "start": 5842, - "end": 5946, + "start": 6023, + "end": 6241, "loc": { "start": { - "line": 299, + "line": 308, "column": 25 }, "end": { - "line": 303, + "line": 314, "column": 5 } }, "body": [ + { + "type": "ExpressionStatement", + "start": 6031, + "end": 6081, + "loc": { + "start": { + "line": 309, + "column": 6 + }, + "end": { + "line": 309, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6031, + "end": 6080, + "loc": { + "start": { + "line": 309, + "column": 6 + }, + "end": { + "line": 309, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 6031, + "end": 6049, + "loc": { + "start": { + "line": 309, + "column": 6 + }, + "end": { + "line": 309, + "column": 24 + }, + "identifierName": "significant_digits" + }, + "name": "significant_digits" + }, + "right": { + "type": "CallExpression", + "start": 6052, + "end": 6080, + "loc": { + "start": { + "line": 309, + "column": 27 + }, + "end": { + "line": 309, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6052, + "end": 6078, + "loc": { + "start": { + "line": 309, + "column": 27 + }, + "end": { + "line": 309, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 6052, + "end": 6070, + "loc": { + "start": { + "line": 309, + "column": 27 + }, + "end": { + "line": 309, + "column": 45 + }, + "identifierName": "significant_digits" + }, + "name": "significant_digits" + }, + "property": { + "type": "Identifier", + "start": 6071, + "end": 6078, + "loc": { + "start": { + "line": 309, + "column": 46 + }, + "end": { + "line": 309, + "column": 53 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false + }, + "arguments": [] + } + } + }, { "type": "ForStatement", - "start": 5850, - "end": 5940, + "start": 6088, + "end": 6178, "loc": { "start": { - "line": 300, + "line": 310, "column": 6 }, "end": { - "line": 302, + "line": 312, "column": 7 } }, "init": { "type": "VariableDeclaration", - "start": 5855, - "end": 5864, + "start": 6093, + "end": 6102, "loc": { "start": { - "line": 300, + "line": 310, "column": 11 }, "end": { - "line": 300, + "line": 310, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5859, - "end": 5864, + "start": 6097, + "end": 6102, "loc": { "start": { - "line": 300, + "line": 310, "column": 15 }, "end": { - "line": 300, + "line": 310, "column": 20 } }, "id": { "type": "Identifier", - "start": 5859, - "end": 5860, + "start": 6097, + "end": 6098, "loc": { "start": { - "line": 300, + "line": 310, "column": 15 }, "end": { - "line": 300, + "line": 310, "column": 16 }, "identifierName": "i" @@ -10082,15 +10491,15 @@ }, "init": { "type": "NumericLiteral", - "start": 5863, - "end": 5864, + "start": 6101, + "end": 6102, "loc": { "start": { - "line": 300, + "line": 310, "column": 19 }, "end": { - "line": 300, + "line": 310, "column": 20 } }, @@ -10106,29 +10515,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5866, - "end": 5885, + "start": 6104, + "end": 6123, "loc": { "start": { - "line": 300, + "line": 310, "column": 22 }, "end": { - "line": 300, + "line": 310, "column": 41 } }, "left": { "type": "Identifier", - "start": 5866, - "end": 5867, + "start": 6104, + "end": 6105, "loc": { "start": { - "line": 300, + "line": 310, "column": 22 }, "end": { - "line": 300, + "line": 310, "column": 23 }, "identifierName": "i" @@ -10138,29 +10547,29 @@ "operator": "<", "right": { "type": "BinaryExpression", - "start": 5870, - "end": 5885, + "start": 6108, + "end": 6123, "loc": { "start": { - "line": 300, + "line": 310, "column": 26 }, "end": { - "line": 300, + "line": 310, "column": 41 } }, "left": { "type": "NumericLiteral", - "start": 5870, - "end": 5871, + "start": 6108, + "end": 6109, "loc": { "start": { - "line": 300, + "line": 310, "column": 26 }, "end": { - "line": 300, + "line": 310, "column": 27 } }, @@ -10173,15 +10582,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 5874, - "end": 5885, + "start": 6112, + "end": 6123, "loc": { "start": { - "line": 300, + "line": 310, "column": 30 }, "end": { - "line": 300, + "line": 310, "column": 41 }, "identifierName": "date_length" @@ -10192,15 +10601,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5887, - "end": 5890, + "start": 6125, + "end": 6128, "loc": { "start": { - "line": 300, + "line": 310, "column": 43 }, "end": { - "line": 300, + "line": 310, "column": 46 } }, @@ -10208,15 +10617,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5887, - "end": 5888, + "start": 6125, + "end": 6126, "loc": { "start": { - "line": 300, + "line": 310, "column": 43 }, "end": { - "line": 300, + "line": 310, "column": 44 }, "identifierName": "i" @@ -10226,72 +10635,72 @@ }, "body": { "type": "BlockStatement", - "start": 5892, - "end": 5940, + "start": 6130, + "end": 6178, "loc": { "start": { - "line": 300, + "line": 310, "column": 48 }, "end": { - "line": 302, + "line": 312, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 5902, - "end": 5932, + "start": 6140, + "end": 6170, "loc": { "start": { - "line": 301, + "line": 311, "column": 8 }, "end": { - "line": 301, + "line": 311, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 5902, - "end": 5931, + "start": 6140, + "end": 6169, "loc": { "start": { - "line": 301, + "line": 311, "column": 8 }, "end": { - "line": 301, + "line": 311, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 5902, - "end": 5925, + "start": 6140, + "end": 6163, "loc": { "start": { - "line": 301, + "line": 311, "column": 8 }, "end": { - "line": 301, + "line": 311, "column": 31 } }, "object": { "type": "Identifier", - "start": 5902, - "end": 5920, + "start": 6140, + "end": 6158, "loc": { "start": { - "line": 301, + "line": 311, "column": 8 }, "end": { - "line": 301, + "line": 311, "column": 26 }, "identifierName": "significant_digits" @@ -10300,15 +10709,15 @@ }, "property": { "type": "Identifier", - "start": 5921, - "end": 5925, + "start": 6159, + "end": 6163, "loc": { "start": { - "line": 301, + "line": 311, "column": 27 }, "end": { - "line": 301, + "line": 311, "column": 31 }, "identifierName": "push" @@ -10320,15 +10729,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5926, - "end": 5930, + "start": 6164, + "end": 6168, "loc": { "start": { - "line": 301, + "line": 311, "column": 32 }, "end": { - "line": 301, + "line": 311, "column": 36 } }, @@ -10344,6 +10753,120 @@ ], "directives": [] } + }, + { + "type": "ExpressionStatement", + "start": 6185, + "end": 6235, + "loc": { + "start": { + "line": 313, + "column": 6 + }, + "end": { + "line": 313, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6185, + "end": 6234, + "loc": { + "start": { + "line": 313, + "column": 6 + }, + "end": { + "line": 313, + "column": 55 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 6185, + "end": 6203, + "loc": { + "start": { + "line": 313, + "column": 6 + }, + "end": { + "line": 313, + "column": 24 + }, + "identifierName": "significant_digits" + }, + "name": "significant_digits" + }, + "right": { + "type": "CallExpression", + "start": 6206, + "end": 6234, + "loc": { + "start": { + "line": 313, + "column": 27 + }, + "end": { + "line": 313, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6206, + "end": 6232, + "loc": { + "start": { + "line": 313, + "column": 27 + }, + "end": { + "line": 313, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 6206, + "end": 6224, + "loc": { + "start": { + "line": 313, + "column": 27 + }, + "end": { + "line": 313, + "column": 45 + }, + "identifierName": "significant_digits" + }, + "name": "significant_digits" + }, + "property": { + "type": "Identifier", + "start": 6225, + "end": 6232, + "loc": { + "start": { + "line": 313, + "column": 46 + }, + "end": { + "line": 313, + "column": 53 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false + }, + "arguments": [] + } + } } ], "directives": [] @@ -10352,58 +10875,58 @@ }, { "type": "ForStatement", - "start": 5952, - "end": 6143, + "start": 6247, + "end": 6438, "loc": { "start": { - "line": 305, + "line": 316, "column": 4 }, "end": { - "line": 310, + "line": 321, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 5957, - "end": 5966, + "start": 6252, + "end": 6261, "loc": { "start": { - "line": 305, + "line": 316, "column": 9 }, "end": { - "line": 305, + "line": 316, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5961, - "end": 5966, + "start": 6256, + "end": 6261, "loc": { "start": { - "line": 305, + "line": 316, "column": 13 }, "end": { - "line": 305, + "line": 316, "column": 18 } }, "id": { "type": "Identifier", - "start": 5961, - "end": 5962, + "start": 6256, + "end": 6257, "loc": { "start": { - "line": 305, + "line": 316, "column": 13 }, "end": { - "line": 305, + "line": 316, "column": 14 }, "identifierName": "i" @@ -10412,15 +10935,15 @@ }, "init": { "type": "NumericLiteral", - "start": 5965, - "end": 5966, + "start": 6260, + "end": 6261, "loc": { "start": { - "line": 305, + "line": 316, "column": 17 }, "end": { - "line": 305, + "line": 316, "column": 18 } }, @@ -10436,29 +10959,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5968, - "end": 5997, + "start": 6263, + "end": 6292, "loc": { "start": { - "line": 305, + "line": 316, "column": 20 }, "end": { - "line": 305, + "line": 316, "column": 49 } }, "left": { "type": "Identifier", - "start": 5968, - "end": 5969, + "start": 6263, + "end": 6264, "loc": { "start": { - "line": 305, + "line": 316, "column": 20 }, "end": { - "line": 305, + "line": 316, "column": 21 }, "identifierName": "i" @@ -10468,29 +10991,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5972, - "end": 5997, + "start": 6267, + "end": 6292, "loc": { "start": { - "line": 305, + "line": 316, "column": 24 }, "end": { - "line": 305, + "line": 316, "column": 49 } }, "object": { "type": "Identifier", - "start": 5972, - "end": 5990, + "start": 6267, + "end": 6285, "loc": { "start": { - "line": 305, + "line": 316, "column": 24 }, "end": { - "line": 305, + "line": 316, "column": 42 }, "identifierName": "significant_digits" @@ -10499,15 +11022,15 @@ }, "property": { "type": "Identifier", - "start": 5991, - "end": 5997, + "start": 6286, + "end": 6292, "loc": { "start": { - "line": 305, + "line": 316, "column": 43 }, "end": { - "line": 305, + "line": 316, "column": 49 }, "identifierName": "length" @@ -10519,15 +11042,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5999, - "end": 6002, + "start": 6294, + "end": 6297, "loc": { "start": { - "line": 305, + "line": 316, "column": 51 }, "end": { - "line": 305, + "line": 316, "column": 54 } }, @@ -10535,15 +11058,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5999, - "end": 6000, + "start": 6294, + "end": 6295, "loc": { "start": { - "line": 305, + "line": 316, "column": 51 }, "end": { - "line": 305, + "line": 316, "column": 52 }, "identifierName": "i" @@ -10553,59 +11076,59 @@ }, "body": { "type": "BlockStatement", - "start": 6004, - "end": 6143, + "start": 6299, + "end": 6438, "loc": { "start": { - "line": 305, + "line": 316, "column": 56 }, "end": { - "line": 310, + "line": 321, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6012, - "end": 6056, + "start": 6307, + "end": 6351, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6016, - "end": 6055, + "start": 6311, + "end": 6350, "loc": { "start": { - "line": 306, + "line": 317, "column": 10 }, "end": { - "line": 306, + "line": 317, "column": 49 } }, "id": { "type": "Identifier", - "start": 6016, - "end": 6020, + "start": 6311, + "end": 6315, "loc": { "start": { - "line": 306, + "line": 317, "column": 10 }, "end": { - "line": 306, + "line": 317, "column": 14 }, "identifierName": "part" @@ -10614,57 +11137,57 @@ }, "init": { "type": "CallExpression", - "start": 6023, - "end": 6055, + "start": 6318, + "end": 6350, "loc": { "start": { - "line": 306, + "line": 317, "column": 17 }, "end": { - "line": 306, + "line": 317, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 6023, - "end": 6053, + "start": 6318, + "end": 6348, "loc": { "start": { - "line": 306, + "line": 317, "column": 17 }, "end": { - "line": 306, + "line": 317, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 6023, - "end": 6044, + "start": 6318, + "end": 6339, "loc": { "start": { - "line": 306, + "line": 317, "column": 17 }, "end": { - "line": 306, + "line": 317, "column": 38 } }, "object": { "type": "Identifier", - "start": 6023, - "end": 6041, + "start": 6318, + "end": 6336, "loc": { "start": { - "line": 306, + "line": 317, "column": 17 }, "end": { - "line": 306, + "line": 317, "column": 35 }, "identifierName": "significant_digits" @@ -10673,15 +11196,15 @@ }, "property": { "type": "Identifier", - "start": 6042, - "end": 6043, + "start": 6337, + "end": 6338, "loc": { "start": { - "line": 306, + "line": 317, "column": 36 }, "end": { - "line": 306, + "line": 317, "column": 37 }, "identifierName": "i" @@ -10692,15 +11215,15 @@ }, "property": { "type": "Identifier", - "start": 6045, - "end": 6053, + "start": 6340, + "end": 6348, "loc": { "start": { - "line": 306, + "line": 317, "column": 39 }, "end": { - "line": 306, + "line": 317, "column": 47 }, "identifierName": "toString" @@ -10717,57 +11240,57 @@ }, { "type": "IfStatement", - "start": 6063, - "end": 6137, + "start": 6358, + "end": 6432, "loc": { "start": { - "line": 307, + "line": 318, "column": 6 }, "end": { - "line": 309, + "line": 320, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 6067, - "end": 6082, + "start": 6362, + "end": 6377, "loc": { "start": { - "line": 307, + "line": 318, "column": 10 }, "end": { - "line": 307, + "line": 318, "column": 25 } }, "left": { "type": "MemberExpression", - "start": 6067, - "end": 6078, + "start": 6362, + "end": 6373, "loc": { "start": { - "line": 307, + "line": 318, "column": 10 }, "end": { - "line": 307, + "line": 318, "column": 21 } }, "object": { "type": "Identifier", - "start": 6067, - "end": 6071, + "start": 6362, + "end": 6366, "loc": { "start": { - "line": 307, + "line": 318, "column": 10 }, "end": { - "line": 307, + "line": 318, "column": 14 }, "identifierName": "part" @@ -10776,15 +11299,15 @@ }, "property": { "type": "Identifier", - "start": 6072, - "end": 6078, + "start": 6367, + "end": 6373, "loc": { "start": { - "line": 307, + "line": 318, "column": 15 }, "end": { - "line": 307, + "line": 318, "column": 21 }, "identifierName": "length" @@ -10796,15 +11319,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 6081, - "end": 6082, + "start": 6376, + "end": 6377, "loc": { "start": { - "line": 307, + "line": 318, "column": 24 }, "end": { - "line": 307, + "line": 318, "column": 25 } }, @@ -10817,73 +11340,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 6084, - "end": 6137, + "start": 6379, + "end": 6432, "loc": { "start": { - "line": 307, + "line": 318, "column": 27 }, "end": { - "line": 309, + "line": 320, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 6094, - "end": 6129, + "start": 6389, + "end": 6424, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 6094, - "end": 6128, + "start": 6389, + "end": 6423, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6094, - "end": 6115, + "start": 6389, + "end": 6410, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 29 } }, "object": { "type": "Identifier", - "start": 6094, - "end": 6112, + "start": 6389, + "end": 6407, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 26 }, "identifierName": "significant_digits" @@ -10892,15 +11415,15 @@ }, "property": { "type": "Identifier", - "start": 6113, - "end": 6114, + "start": 6408, + "end": 6409, "loc": { "start": { - "line": 308, + "line": 319, "column": 27 }, "end": { - "line": 308, + "line": 319, "column": 28 }, "identifierName": "i" @@ -10911,29 +11434,29 @@ }, "right": { "type": "BinaryExpression", - "start": 6118, - "end": 6128, + "start": 6413, + "end": 6423, "loc": { "start": { - "line": 308, + "line": 319, "column": 32 }, "end": { - "line": 308, + "line": 319, "column": 42 } }, "left": { "type": "StringLiteral", - "start": 6118, - "end": 6121, + "start": 6413, + "end": 6416, "loc": { "start": { - "line": 308, + "line": 319, "column": 32 }, "end": { - "line": 308, + "line": 319, "column": 35 } }, @@ -10946,15 +11469,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6124, - "end": 6128, + "start": 6419, + "end": 6423, "loc": { "start": { - "line": 308, + "line": 319, "column": 38 }, "end": { - "line": 308, + "line": 319, "column": 42 }, "identifierName": "part" @@ -10975,57 +11498,57 @@ }, { "type": "ReturnStatement", - "start": 6148, - "end": 6184, + "start": 6443, + "end": 6479, "loc": { "start": { - "line": 311, + "line": 322, "column": 4 }, "end": { - "line": 311, + "line": 322, "column": 40 } }, "argument": { "type": "CallExpression", - "start": 6155, - "end": 6183, + "start": 6450, + "end": 6478, "loc": { "start": { - "line": 311, + "line": 322, "column": 11 }, "end": { - "line": 311, + "line": 322, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 6155, - "end": 6178, + "start": 6450, + "end": 6473, "loc": { "start": { - "line": 311, + "line": 322, "column": 11 }, "end": { - "line": 311, + "line": 322, "column": 34 } }, "object": { "type": "Identifier", - "start": 6155, - "end": 6173, + "start": 6450, + "end": 6468, "loc": { "start": { - "line": 311, + "line": 322, "column": 11 }, "end": { - "line": 311, + "line": 322, "column": 29 }, "identifierName": "significant_digits" @@ -11034,15 +11557,15 @@ }, "property": { "type": "Identifier", - "start": 6174, - "end": 6178, + "start": 6469, + "end": 6473, "loc": { "start": { - "line": 311, + "line": 322, "column": 30 }, "end": { - "line": 311, + "line": 322, "column": 34 }, "identifierName": "join" @@ -11054,15 +11577,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6179, - "end": 6182, + "start": 6474, + "end": 6477, "loc": { "start": { - "line": 311, + "line": 322, "column": 35 }, "end": { - "line": 311, + "line": 322, "column": 38 } }, @@ -11082,15 +11605,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5248, - "end": 5352, + "start": 5429, + "end": 5533, "loc": { "start": { - "line": 278, + "line": 287, "column": 2 }, "end": { - "line": 281, + "line": 290, "column": 5 } } @@ -11120,58 +11643,58 @@ }, { "type": "ExpressionStatement", - "start": 6192, - "end": 6219, + "start": 6487, + "end": 6514, "loc": { "start": { - "line": 315, + "line": 326, "column": 0 }, "end": { - "line": 315, + "line": 326, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 6192, - "end": 6218, + "start": 6487, + "end": 6513, "loc": { "start": { - "line": 315, + "line": 326, "column": 0 }, "end": { - "line": 315, + "line": 326, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6192, - "end": 6206, + "start": 6487, + "end": 6501, "loc": { "start": { - "line": 315, + "line": 326, "column": 0 }, "end": { - "line": 315, + "line": 326, "column": 14 } }, "object": { "type": "Identifier", - "start": 6192, - "end": 6198, + "start": 6487, + "end": 6493, "loc": { "start": { - "line": 315, + "line": 326, "column": 0 }, "end": { - "line": 315, + "line": 326, "column": 6 }, "identifierName": "module" @@ -11180,15 +11703,15 @@ }, "property": { "type": "Identifier", - "start": 6199, - "end": 6206, + "start": 6494, + "end": 6501, "loc": { "start": { - "line": 315, + "line": 326, "column": 7 }, "end": { - "line": 315, + "line": 326, "column": 14 }, "identifierName": "exports" @@ -11199,15 +11722,15 @@ }, "right": { "type": "Identifier", - "start": 6209, - "end": 6218, + "start": 6504, + "end": 6513, "loc": { "start": { - "line": 315, + "line": 326, "column": 17 }, "end": { - "line": 315, + "line": 326, "column": 26 }, "identifierName": "LongCount" @@ -11366,28 +11889,28 @@ }, { "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", "start": 772, - "end": 857, + "end": 891, "loc": { "start": { "line": 37, "column": 2 }, "end": { - "line": 40, + "line": 41, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 918, - "end": 1021, + "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", + "start": 953, + "end": 1038, "loc": { "start": { - "line": 45, + "line": 46, "column": 2 }, "end": { @@ -11398,16 +11921,32 @@ }, { "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": 1161, - "end": 1308, + "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", + "start": 1099, + "end": 1202, "loc": { "start": { + "line": 54, + "column": 2 + }, + "end": { "line": 58, + "column": 5 + } + } + }, + { + "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": 1342, + "end": 1489, + "loc": { + "start": { + "line": 67, "column": 2 }, "end": { - "line": 64, + "line": 73, "column": 5 } } @@ -11415,15 +11954,15 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1443, - "end": 1529, + "start": 1624, + "end": 1710, "loc": { "start": { - "line": 71, + "line": 80, "column": 2 }, "end": { - "line": 74, + "line": 83, "column": 5 } } @@ -11431,15 +11970,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1584, - "end": 1656, + "start": 1765, + "end": 1837, "loc": { "start": { - "line": 79, + "line": 88, "column": 2 }, "end": { - "line": 82, + "line": 91, "column": 5 } } @@ -11447,15 +11986,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1728, - "end": 1803, + "start": 1909, + "end": 1984, "loc": { "start": { - "line": 87, + "line": 96, "column": 2 }, "end": { - "line": 90, + "line": 99, "column": 5 } } @@ -11463,15 +12002,15 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1864, - "end": 1937, + "start": 2045, + "end": 2118, "loc": { "start": { - "line": 95, + "line": 104, "column": 2 }, "end": { - "line": 98, + "line": 107, "column": 5 } } @@ -11479,15 +12018,15 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2012, - "end": 2088, + "start": 2193, + "end": 2269, "loc": { "start": { - "line": 103, + "line": 112, "column": 2 }, "end": { - "line": 106, + "line": 115, "column": 5 } } @@ -11495,15 +12034,15 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2150, - "end": 2221, + "start": 2331, + "end": 2402, "loc": { "start": { - "line": 111, + "line": 120, "column": 2 }, "end": { - "line": 114, + "line": 123, "column": 5 } } @@ -11511,15 +12050,15 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2290, - "end": 2364, + "start": 2471, + "end": 2545, "loc": { "start": { - "line": 119, + "line": 128, "column": 2 }, "end": { - "line": 122, + "line": 131, "column": 5 } } @@ -11527,15 +12066,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2424, - "end": 2498, + "start": 2605, + "end": 2679, "loc": { "start": { - "line": 127, + "line": 136, "column": 2 }, "end": { - "line": 130, + "line": 139, "column": 5 } } @@ -11543,15 +12082,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2576, - "end": 2653, + "start": 2757, + "end": 2834, "loc": { "start": { - "line": 135, + "line": 144, "column": 2 }, "end": { - "line": 138, + "line": 147, "column": 5 } } @@ -11559,15 +12098,15 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "start": 2897, + "end": 2972, "loc": { "start": { - "line": 143, + "line": 152, "column": 2 }, "end": { - "line": 146, + "line": 155, "column": 5 } } @@ -11575,15 +12114,15 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2872, - "end": 2950, + "start": 3053, + "end": 3131, "loc": { "start": { - "line": 151, + "line": 160, "column": 2 }, "end": { - "line": 154, + "line": 163, "column": 5 } } @@ -11591,15 +12130,15 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3014, - "end": 3088, + "start": 3195, + "end": 3269, "loc": { "start": { - "line": 159, + "line": 168, "column": 2 }, "end": { - "line": 162, + "line": 171, "column": 5 } } @@ -11607,15 +12146,15 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3168, - "end": 3245, + "start": 3349, + "end": 3426, "loc": { "start": { - "line": 167, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 179, "column": 5 } } @@ -11623,15 +12162,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3308, - "end": 3384, + "start": 3489, + "end": 3565, "loc": { "start": { - "line": 175, + "line": 184, "column": 2 }, "end": { - "line": 178, + "line": 187, "column": 5 } } @@ -11639,15 +12178,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3466, - "end": 3545, + "start": 3647, + "end": 3726, "loc": { "start": { - "line": 183, + "line": 192, "column": 2 }, "end": { - "line": 186, + "line": 195, "column": 5 } } @@ -11655,15 +12194,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3610, - "end": 3688, + "start": 3791, + "end": 3869, "loc": { "start": { - "line": 191, + "line": 200, "column": 2 }, "end": { - "line": 194, + "line": 203, "column": 5 } } @@ -11671,15 +12210,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3772, - "end": 3853, + "start": 3953, + "end": 4034, "loc": { "start": { - "line": 199, + "line": 208, "column": 2 }, "end": { - "line": 202, + "line": 211, "column": 5 } } @@ -11687,15 +12226,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {any}\n ", - "start": 3920, - "end": 3953, + "start": 4101, + "end": 4134, "loc": { "start": { - "line": 207, + "line": 216, "column": 2 }, "end": { - "line": 210, + "line": 219, "column": 5 } } @@ -11703,15 +12242,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4063, - "end": 4169, + "start": 4244, + "end": 4350, "loc": { "start": { - "line": 217, + "line": 226, "column": 2 }, "end": { - "line": 220, + "line": 229, "column": 5 } } @@ -11719,15 +12258,15 @@ { "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": 4244, - "end": 4381, + "start": 4425, + "end": 4562, "loc": { "start": { - "line": 225, + "line": 234, "column": 2 }, "end": { - "line": 229, + "line": 238, "column": 5 } } @@ -11735,15 +12274,15 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4525, - "end": 4615, + "start": 4706, + "end": 4796, "loc": { "start": { - "line": 239, + "line": 248, "column": 2 }, "end": { - "line": 242, + "line": 251, "column": 5 } } @@ -11751,15 +12290,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4956, - "end": 4999, + "start": 5137, + "end": 5180, "loc": { "start": { - "line": 257, + "line": 266, "column": 2 }, "end": { - "line": 260, + "line": 269, "column": 5 } } @@ -11767,15 +12306,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 5093, - "end": 5131, + "start": 5274, + "end": 5312, "loc": { "start": { - "line": 267, + "line": 276, "column": 2 }, "end": { - "line": 270, + "line": 279, "column": 5 } } @@ -11783,15 +12322,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5248, - "end": 5352, + "start": 5429, + "end": 5533, "loc": { "start": { - "line": 278, + "line": 287, "column": 2 }, "end": { - "line": 281, + "line": 290, "column": 5 } } @@ -13678,16 +14217,16 @@ }, { "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n ", "start": 772, - "end": 857, + "end": 891, "loc": { "start": { "line": 37, "column": 2 }, "end": { - "line": 40, + "line": 41, "column": 5 } } @@ -13704,16 +14243,16 @@ "postfix": false, "binop": null }, - "value": "clone", - "start": 860, - "end": 865, + "value": "equal", + "start": 894, + "end": 899, "loc": { "start": { - "line": 41, + "line": 42, "column": 2 }, "end": { - "line": 41, + "line": 42, "column": 7 } } @@ -13730,24 +14269,24 @@ "postfix": false, "binop": null }, - "start": 865, - "end": 866, + "start": 899, + "end": 900, "loc": { "start": { - "line": 41, + "line": 42, "column": 7 }, "end": { - "line": 41, + "line": 42, "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13755,24 +14294,25 @@ "postfix": false, "binop": null }, - "start": 866, - "end": 867, + "value": "other", + "start": 900, + "end": 905, "loc": { "start": { - "line": 41, + "line": 42, "column": 8 }, "end": { - "line": 41, - "column": 9 + "line": 42, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13780,53 +14320,50 @@ "postfix": false, "binop": null }, - "start": 868, - "end": 869, + "start": 905, + "end": 906, "loc": { "start": { - "line": 41, - "column": 10 + "line": 42, + "column": 13 }, "end": { - "line": 41, - "column": 11 + "line": 42, + "column": 14 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 874, - "end": 880, + "start": 907, + "end": 908, "loc": { "start": { "line": 42, - "column": 4 + "column": 15 }, "end": { "line": 42, - "column": 10 + "column": 16 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13835,23 +14372,23 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 881, - "end": 884, + "value": "return", + "start": 913, + "end": 919, "loc": { "start": { - "line": 42, - "column": 11 + "line": 43, + "column": 4 }, "end": { - "line": 42, - "column": 14 + "line": 43, + "column": 10 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13861,68 +14398,68 @@ "postfix": false, "binop": null }, - "value": "LongCount", - "start": 885, - "end": 894, + "start": 920, + "end": 921, "loc": { "start": { - "line": 42, - "column": 15 + "line": 43, + "column": 11 }, "end": { - "line": 42, - "column": 24 + "line": 43, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 894, - "end": 895, + "value": "", + "start": 921, + "end": 921, "loc": { "start": { - "line": 42, - "column": 24 + "line": 43, + "column": 12 }, "end": { - "line": 42, - "column": 25 + "line": 43, + "column": 12 } } }, { "type": { - "label": "...", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 895, - "end": 898, + "start": 921, + "end": 923, "loc": { "start": { - "line": 42, - "column": 25 + "line": 43, + "column": 12 }, "end": { - "line": 42, - "column": 28 + "line": 43, + "column": 14 } } }, @@ -13941,22 +14478,22 @@ "updateContext": null }, "value": "this", - "start": 898, - "end": 902, + "start": 923, + "end": 927, "loc": { "start": { - "line": 42, - "column": 28 + "line": 43, + "column": 14 }, "end": { - "line": 42, - "column": 32 + "line": 43, + "column": 18 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13964,53 +14501,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 902, - "end": 903, + "start": 927, + "end": 928, "loc": { "start": { - "line": 42, - "column": 32 + "line": 43, + "column": 18 }, "end": { - "line": 42, - "column": 33 + "line": 43, + "column": 19 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parts", - "start": 903, - "end": 908, + "value": "", + "start": 928, + "end": 928, "loc": { "start": { - "line": 42, - "column": 33 + "line": 43, + "column": 19 }, "end": { - "line": 42, - "column": 38 + "line": 43, + "column": 19 } } }, { "type": { - "label": ")", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14018,22 +14555,22 @@ "postfix": false, "binop": null }, - "start": 908, - "end": 909, + "start": 928, + "end": 929, "loc": { "start": { - "line": 42, - "column": 38 + "line": 43, + "column": 19 }, "end": { - "line": 42, - "column": 39 + "line": 43, + "column": 20 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14041,27 +14578,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 909, - "end": 910, + "value": "===", + "start": 930, + "end": 933, "loc": { "start": { - "line": 42, - "column": 39 + "line": 43, + "column": 21 }, "end": { - "line": 42, - "column": 40 + "line": 43, + "column": 24 } } }, { "type": { - "label": "}", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14069,64 +14607,49 @@ "postfix": false, "binop": null }, - "start": 913, - "end": 914, + "start": 934, + "end": 935, "loc": { "start": { "line": 43, - "column": 2 + "column": 25 }, "end": { "line": 43, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 918, - "end": 1021, - "loc": { - "start": { - "line": 45, - "column": 2 - }, - "end": { - "line": 49, - "column": 5 + "column": 26 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get_date_sections", - "start": 1024, - "end": 1041, + "value": "", + "start": 935, + "end": 935, "loc": { "start": { - "line": 50, - "column": 2 + "line": 43, + "column": 26 }, "end": { - "line": 50, - "column": 19 + "line": 43, + "column": 26 } } }, { "type": { - "label": "(", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -14136,16 +14659,16 @@ "postfix": false, "binop": null }, - "start": 1041, - "end": 1042, + "start": 935, + "end": 937, "loc": { "start": { - "line": 50, - "column": 19 + "line": 43, + "column": 26 }, "end": { - "line": 50, - "column": 20 + "line": 43, + "column": 28 } } }, @@ -14161,23 +14684,23 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 1042, - "end": 1047, + "value": "other", + "start": 937, + "end": 942, "loc": { "start": { - "line": 50, - "column": 20 + "line": 43, + "column": 28 }, "end": { - "line": 50, - "column": 25 + "line": 43, + "column": 33 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14187,48 +14710,22 @@ "postfix": false, "binop": null }, - "start": 1047, - "end": 1048, - "loc": { - "start": { - "line": 50, - "column": 25 - }, - "end": { - "line": 50, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1049, - "end": 1050, + "start": 942, + "end": 943, "loc": { "start": { - "line": 50, - "column": 27 + "line": 43, + "column": 33 }, "end": { - "line": 50, - "column": 28 + "line": 43, + "column": 34 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14239,23 +14736,23 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1055, - "end": 1058, + "value": "", + "start": 943, + "end": 943, "loc": { "start": { - "line": 51, - "column": 4 + "line": 43, + "column": 34 }, "end": { - "line": 51, - "column": 7 + "line": 43, + "column": 34 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14265,98 +14762,83 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 1059, - "end": 1063, + "start": 943, + "end": 944, "loc": { "start": { - "line": 51, - "column": 8 + "line": 43, + "column": 34 }, "end": { - "line": 51, - "column": 12 + "line": 43, + "column": 35 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1064, - "end": 1065, + "start": 944, + "end": 945, "loc": { "start": { - "line": 51, - "column": 13 + "line": 43, + "column": 35 }, "end": { - "line": 51, - "column": 14 + "line": 43, + "column": 36 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1066, - "end": 1070, + "start": 948, + "end": 949, "loc": { "start": { - "line": 51, - "column": 15 + "line": 44, + "column": 2 }, "end": { - "line": 51, - "column": 19 + "line": 44, + "column": 3 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1070, - "end": 1071, + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", + "start": 953, + "end": 1038, "loc": { "start": { - "line": 51, - "column": 19 + "line": 46, + "column": 2 }, "end": { - "line": 51, - "column": 20 + "line": 49, + "column": 5 } } }, @@ -14372,23 +14854,23 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 1071, - "end": 1076, + "value": "clone", + "start": 1041, + "end": 1046, "loc": { "start": { - "line": 51, - "column": 20 + "line": 50, + "column": 2 }, "end": { - "line": 51, - "column": 25 + "line": 50, + "column": 7 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -14396,27 +14878,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1076, - "end": 1077, + "start": 1046, + "end": 1047, "loc": { "start": { - "line": 51, - "column": 25 + "line": 50, + "column": 7 }, "end": { - "line": 51, - "column": 26 + "line": 50, + "column": 8 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14424,49 +14905,48 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 1077, - "end": 1082, + "start": 1047, + "end": 1048, "loc": { "start": { - "line": 51, - "column": 26 + "line": 50, + "column": 8 }, "end": { - "line": 51, - "column": 31 + "line": 50, + "column": 9 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1082, - "end": 1083, + "start": 1049, + "end": 1050, "loc": { "start": { - "line": 51, - "column": 31 + "line": 50, + "column": 10 }, "end": { - "line": 51, - "column": 32 + "line": 50, + "column": 11 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14477,25 +14957,26 @@ "binop": null, "updateContext": null }, - "start": 1083, - "end": 1084, + "value": "return", + "start": 1055, + "end": 1061, "loc": { "start": { "line": 51, - "column": 32 + "column": 4 }, "end": { "line": 51, - "column": 33 + "column": 10 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14504,24 +14985,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1089, - "end": 1091, + "value": "new", + "start": 1062, + "end": 1065, "loc": { "start": { - "line": 52, - "column": 4 + "line": 51, + "column": 11 }, "end": { - "line": 52, - "column": 6 + "line": 51, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14530,23 +15011,24 @@ "postfix": false, "binop": null }, - "start": 1092, - "end": 1093, + "value": "LongCount", + "start": 1066, + "end": 1075, "loc": { "start": { - "line": 52, - "column": 7 + "line": 51, + "column": 15 }, "end": { - "line": 52, - "column": 8 + "line": 51, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14555,23 +15037,22 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 1093, - "end": 1097, + "start": 1075, + "end": 1076, "loc": { "start": { - "line": 52, - "column": 8 + "line": 51, + "column": 24 }, "end": { - "line": 52, - "column": 12 + "line": 51, + "column": 25 } } }, { "type": { - "label": "==/!=", + "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14579,26 +15060,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 1098, - "end": 1101, + "start": 1076, + "end": 1079, "loc": { "start": { - "line": 52, - "column": 13 + "line": 51, + "column": 25 }, "end": { - "line": 52, - "column": 16 + "line": 51, + "column": 28 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14606,25 +15087,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 1102, - "end": 1111, + "value": "this", + "start": 1079, + "end": 1083, "loc": { "start": { - "line": 52, - "column": 17 + "line": 51, + "column": 28 }, "end": { - "line": 52, - "column": 26 + "line": 51, + "column": 32 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14632,25 +15114,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1111, - "end": 1112, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 52, - "column": 26 + "line": 51, + "column": 32 }, "end": { - "line": 52, - "column": 27 + "line": 51, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14659,52 +15142,50 @@ "postfix": false, "binop": null }, - "start": 1113, - "end": 1114, + "value": "parts", + "start": 1084, + "end": 1089, "loc": { "start": { - "line": 52, - "column": 28 + "line": 51, + "column": 33 }, "end": { - "line": 52, - "column": 29 + "line": 51, + "column": 38 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1121, - "end": 1127, + "start": 1089, + "end": 1090, "loc": { "start": { - "line": 53, - "column": 6 + "line": 51, + "column": 38 }, "end": { - "line": 53, - "column": 12 + "line": 51, + "column": 39 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14713,51 +15194,65 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 1128, - "end": 1129, + "start": 1090, + "end": 1091, "loc": { "start": { - "line": 53, - "column": 13 + "line": 51, + "column": 39 }, "end": { - "line": 53, - "column": 14 + "line": 51, + "column": 40 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1129, - "end": 1130, + "start": 1094, + "end": 1095, "loc": { "start": { - "line": 53, - "column": 14 + "line": 52, + "column": 2 }, "end": { - "line": 53, - "column": 15 + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", + "start": 1099, + "end": 1202, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 58, + "column": 5 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14765,44 +15260,42 @@ "postfix": false, "binop": null }, - "start": 1135, - "end": 1136, + "value": "get_date_sections", + "start": 1205, + "end": 1222, "loc": { "start": { - "line": 54, - "column": 4 + "line": 59, + "column": 2 }, "end": { - "line": 54, - "column": 5 + "line": 59, + "column": 19 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1141, - "end": 1147, + "start": 1222, + "end": 1223, "loc": { "start": { - "line": 55, - "column": 4 + "line": 59, + "column": 19 }, "end": { - "line": 55, - "column": 10 + "line": 59, + "column": 20 } } }, @@ -14818,51 +15311,50 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 1148, - "end": 1152, + "value": "index", + "start": 1223, + "end": 1228, "loc": { "start": { - "line": 55, - "column": 11 + "line": 59, + "column": 20 }, "end": { - "line": 55, - "column": 15 + "line": 59, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1152, - "end": 1153, + "start": 1228, + "end": 1229, "loc": { "start": { - "line": 55, - "column": 15 + "line": 59, + "column": 25 }, "end": { - "line": 55, - "column": 16 + "line": 59, + "column": 26 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14870,32 +15362,44 @@ "postfix": false, "binop": null }, - "start": 1156, - "end": 1157, + "start": 1230, + "end": 1231, "loc": { "start": { - "line": 56, - "column": 2 + "line": 59, + "column": 27 }, "end": { - "line": 56, - "column": 3 + "line": 59, + "column": 28 } } }, { - "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": 1161, - "end": 1308, + "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": 1236, + "end": 1239, "loc": { "start": { - "line": 58, - "column": 2 + "line": 60, + "column": 4 }, "end": { - "line": 64, - "column": 5 + "line": 60, + "column": 7 } } }, @@ -14911,48 +15415,51 @@ "postfix": false, "binop": null }, - "value": "set_date_sections", - "start": 1311, - "end": 1328, + "value": "part", + "start": 1240, + "end": 1244, "loc": { "start": { - "line": 65, - "column": 2 + "line": 60, + "column": 8 }, "end": { - "line": 65, - "column": 19 + "line": 60, + "column": 12 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1328, - "end": 1329, + "value": "=", + "start": 1245, + "end": 1246, "loc": { "start": { - "line": 65, - "column": 19 + "line": 60, + "column": 13 }, "end": { - "line": 65, - "column": 20 + "line": 60, + "column": 14 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14960,26 +15467,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "index", - "start": 1329, - "end": 1334, + "value": "this", + "start": 1247, + "end": 1251, "loc": { "start": { - "line": 65, - "column": 20 + "line": 60, + "column": 15 }, "end": { - "line": 65, - "column": 25 + "line": 60, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14989,16 +15497,16 @@ "binop": null, "updateContext": null }, - "start": 1334, - "end": 1335, + "start": 1251, + "end": 1252, "loc": { "start": { - "line": 65, - "column": 25 + "line": 60, + "column": 19 }, "end": { - "line": 65, - "column": 26 + "line": 60, + "column": 20 } } }, @@ -15014,49 +15522,50 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1336, - "end": 1341, + "value": "parts", + "start": 1252, + "end": 1257, "loc": { "start": { - "line": 65, - "column": 27 + "line": 60, + "column": 20 }, "end": { - "line": 65, - "column": 32 + "line": 60, + "column": 25 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1341, - "end": 1342, + "start": 1257, + "end": 1258, "loc": { "start": { - "line": 65, - "column": 32 + "line": 60, + "column": 25 }, "end": { - "line": 65, - "column": 33 + "line": 60, + "column": 26 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15065,25 +15574,25 @@ "postfix": false, "binop": null }, - "start": 1343, - "end": 1344, + "value": "index", + "start": 1258, + "end": 1263, "loc": { "start": { - "line": 65, - "column": 34 + "line": 60, + "column": 26 }, "end": { - "line": 65, - "column": 35 + "line": 60, + "column": 31 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15092,24 +15601,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1349, - "end": 1353, + "start": 1263, + "end": 1264, "loc": { "start": { - "line": 66, - "column": 4 + "line": 60, + "column": 31 }, "end": { - "line": 66, - "column": 8 + "line": 60, + "column": 32 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15119,48 +15627,50 @@ "binop": null, "updateContext": null }, - "start": 1353, - "end": 1354, + "start": 1264, + "end": 1265, "loc": { "start": { - "line": 66, - "column": 8 + "line": 60, + "column": 32 }, "end": { - "line": 66, - "column": 9 + "line": 60, + "column": 33 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parts", - "start": 1354, - "end": 1359, + "value": "if", + "start": 1270, + "end": 1272, "loc": { "start": { - "line": 66, - "column": 9 + "line": 61, + "column": 4 }, "end": { - "line": 66, - "column": 14 + "line": 61, + "column": 6 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -15168,19 +15678,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1359, - "end": 1360, + "start": 1273, + "end": 1274, "loc": { "start": { - "line": 66, - "column": 14 + "line": 61, + "column": 7 }, "end": { - "line": 66, - "column": 15 + "line": 61, + "column": 8 } } }, @@ -15196,70 +15705,44 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 1360, - "end": 1365, - "loc": { - "start": { - "line": 66, - "column": 15 - }, - "end": { - "line": 66, - "column": 20 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1365, - "end": 1366, + "value": "part", + "start": 1274, + "end": 1278, "loc": { "start": { - "line": 66, - "column": 20 + "line": 61, + "column": 8 }, "end": { - "line": 66, - "column": 21 + "line": 61, + "column": 12 } } }, { "type": { - "label": "=", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "=", - "start": 1367, - "end": 1368, + "value": "===", + "start": 1279, + "end": 1282, "loc": { "start": { - "line": 66, - "column": 22 + "line": 61, + "column": 13 }, "end": { - "line": 66, - "column": 23 + "line": 61, + "column": 16 } } }, @@ -15275,23 +15758,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1369, - "end": 1374, + "value": "undefined", + "start": 1283, + "end": 1292, "loc": { "start": { - "line": 66, - "column": 24 + "line": 61, + "column": 17 }, "end": { - "line": 66, - "column": 29 + "line": 61, + "column": 26 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15299,26 +15782,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1374, - "end": 1375, + "start": 1292, + "end": 1293, "loc": { "start": { - "line": 66, - "column": 29 + "line": 61, + "column": 26 }, "end": { - "line": 66, - "column": 30 + "line": 61, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15327,67 +15809,71 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 1375, - "end": 1383, + "start": 1294, + "end": 1295, "loc": { "start": { - "line": 66, - "column": 30 + "line": 61, + "column": 28 }, "end": { - "line": 66, - "column": 38 + "line": 61, + "column": 29 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1383, - "end": 1384, + "value": "return", + "start": 1302, + "end": 1308, "loc": { "start": { - "line": 66, - "column": 38 + "line": 62, + "column": 6 }, "end": { - "line": 66, - "column": 39 + "line": 62, + "column": 12 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1384, - "end": 1385, + "value": 0, + "start": 1309, + "end": 1310, "loc": { "start": { - "line": 66, - "column": 39 + "line": 62, + "column": 13 }, "end": { - "line": 66, - "column": 40 + "line": 62, + "column": 14 } } }, @@ -15404,51 +15890,49 @@ "binop": null, "updateContext": null }, - "start": 1385, - "end": 1386, + "start": 1310, + "end": 1311, "loc": { "start": { - "line": 66, - "column": 40 + "line": 62, + "column": 14 }, "end": { - "line": 66, - "column": 41 + "line": 62, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1391, - "end": 1395, + "start": 1316, + "end": 1317, "loc": { "start": { - "line": 67, + "line": 63, "column": 4 }, "end": { - "line": 67, - "column": 8 + "line": 63, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15458,16 +15942,17 @@ "binop": null, "updateContext": null }, - "start": 1395, - "end": 1396, + "value": "return", + "start": 1322, + "end": 1328, "loc": { "start": { - "line": 67, - "column": 8 + "line": 64, + "column": 4 }, "end": { - "line": 67, - "column": 9 + "line": 64, + "column": 10 } } }, @@ -15483,98 +15968,84 @@ "postfix": false, "binop": null }, - "value": "raw", - "start": 1396, - "end": 1399, + "value": "part", + "start": 1329, + "end": 1333, "loc": { "start": { - "line": 67, - "column": 9 + "line": 64, + "column": 11 }, "end": { - "line": 67, - "column": 12 + "line": 64, + "column": 15 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1400, - "end": 1401, + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 67, - "column": 13 + "line": 64, + "column": 15 }, "end": { - "line": 67, - "column": 14 + "line": 64, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1402, - "end": 1406, + "start": 1337, + "end": 1338, "loc": { "start": { - "line": 67, - "column": 15 + "line": 65, + "column": 2 }, "end": { - "line": 67, - "column": 19 + "line": 65, + "column": 3 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1406, - "end": 1407, + "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": 1342, + "end": 1489, "loc": { "start": { "line": 67, - "column": 19 + "column": 2 }, "end": { - "line": 67, - "column": 20 + "line": 73, + "column": 5 } } }, @@ -15590,17 +16061,17 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 1407, - "end": 1415, + "value": "set_date_sections", + "start": 1492, + "end": 1509, "loc": { "start": { - "line": 67, - "column": 20 + "line": 74, + "column": 2 }, "end": { - "line": 67, - "column": 28 + "line": 74, + "column": 19 } } }, @@ -15616,24 +16087,24 @@ "postfix": false, "binop": null }, - "start": 1415, - "end": 1416, + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 67, - "column": 28 + "line": 74, + "column": 19 }, "end": { - "line": 67, - "column": 29 + "line": 74, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15641,22 +16112,23 @@ "postfix": false, "binop": null }, - "start": 1416, - "end": 1417, + "value": "index", + "start": 1510, + "end": 1515, "loc": { "start": { - "line": 67, - "column": 29 + "line": 74, + "column": 20 }, "end": { - "line": 67, - "column": 30 + "line": 74, + "column": 25 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15667,165 +16139,146 @@ "binop": null, "updateContext": null }, - "start": 1417, - "end": 1418, + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 67, - "column": 30 + "line": 74, + "column": 25 }, "end": { - "line": 67, - "column": 31 + "line": 74, + "column": 26 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1423, - "end": 1429, + "value": "value", + "start": 1517, + "end": 1522, "loc": { "start": { - "line": 68, - "column": 4 + "line": 74, + "column": 27 }, "end": { - "line": 68, - "column": 10 + "line": 74, + "column": 32 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1430, - "end": 1434, + "start": 1522, + "end": 1523, "loc": { "start": { - "line": 68, - "column": 11 + "line": 74, + "column": 32 }, "end": { - "line": 68, - "column": 15 + "line": 74, + "column": 33 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1434, - "end": 1435, + "start": 1524, + "end": 1525, "loc": { "start": { - "line": 68, - "column": 15 + "line": 74, + "column": 34 }, "end": { - "line": 68, - "column": 16 + "line": 74, + "column": 35 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1438, - "end": 1439, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 69, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1443, - "end": 1529, + "value": "this", + "start": 1530, + "end": 1534, "loc": { "start": { - "line": 71, - "column": 2 + "line": 75, + "column": 4 }, "end": { - "line": 74, - "column": 5 + "line": 75, + "column": 8 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 1532, + "start": 1534, "end": 1535, "loc": { "start": { "line": 75, - "column": 2 + "column": 8 }, "end": { "line": 75, - "column": 5 + "column": 9 } } }, @@ -15841,23 +16294,23 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1536, - "end": 1542, + "value": "parts", + "start": 1535, + "end": 1540, "loc": { "start": { "line": 75, - "column": 6 + "column": 9 }, "end": { "line": 75, - "column": 12 + "column": 14 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -15865,26 +16318,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1542, - "end": 1543, + "start": 1540, + "end": 1541, "loc": { "start": { "line": 75, - "column": 12 + "column": 14 }, "end": { "line": 75, - "column": 13 + "column": 15 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15892,76 +16346,76 @@ "postfix": false, "binop": null }, - "start": 1543, - "end": 1544, + "value": "index", + "start": 1541, + "end": 1546, "loc": { "start": { "line": 75, - "column": 13 + "column": 15 }, "end": { "line": 75, - "column": 14 + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1545, - "end": 1546, + "start": 1546, + "end": 1547, "loc": { "start": { "line": 75, - "column": 15 + "column": 20 }, "end": { "line": 75, - "column": 16 + "column": 21 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 1551, - "end": 1557, + "value": "=", + "start": 1548, + "end": 1549, "loc": { "start": { - "line": 76, - "column": 4 + "line": 75, + "column": 22 }, "end": { - "line": 76, - "column": 10 + "line": 75, + "column": 23 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15969,20 +16423,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1558, - "end": 1562, + "value": "value", + "start": 1550, + "end": 1555, "loc": { "start": { - "line": 76, - "column": 11 + "line": 75, + "column": 24 }, "end": { - "line": 76, - "column": 15 + "line": 75, + "column": 29 } } }, @@ -15999,16 +16452,16 @@ "binop": null, "updateContext": null }, - "start": 1562, - "end": 1563, + "start": 1555, + "end": 1556, "loc": { "start": { - "line": 76, - "column": 15 + "line": 75, + "column": 29 }, "end": { - "line": 76, - "column": 16 + "line": 75, + "column": 30 } } }, @@ -16024,51 +16477,50 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 1563, - "end": 1568, + "value": "toString", + "start": 1556, + "end": 1564, "loc": { "start": { - "line": 76, - "column": 16 + "line": 75, + "column": 30 }, "end": { - "line": 76, - "column": 21 + "line": 75, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1568, - "end": 1569, + "start": 1564, + "end": 1565, "loc": { "start": { - "line": 76, - "column": 21 + "line": 75, + "column": 38 }, "end": { - "line": 76, - "column": 22 + "line": 75, + "column": 39 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16076,17 +16528,16 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1569, - "end": 1575, + "start": 1565, + "end": 1566, "loc": { "start": { - "line": 76, - "column": 22 + "line": 75, + "column": 39 }, "end": { - "line": 76, - "column": 28 + "line": 75, + "column": 40 } } }, @@ -16103,57 +16554,70 @@ "binop": null, "updateContext": null }, - "start": 1575, - "end": 1576, + "start": 1566, + "end": 1567, "loc": { "start": { - "line": 76, - "column": 28 + "line": 75, + "column": 40 }, "end": { - "line": 76, - "column": 29 + "line": 75, + "column": 41 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1579, - "end": 1580, + "value": "this", + "start": 1572, + "end": 1576, "loc": { "start": { - "line": 77, - "column": 2 + "line": 76, + "column": 4 }, "end": { - "line": 77, - "column": 3 + "line": 76, + "column": 8 } } }, { - "type": "CommentBlock", - "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1584, - "end": 1656, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1576, + "end": 1577, "loc": { "start": { - "line": 79, - "column": 2 + "line": 76, + "column": 8 }, "end": { - "line": 82, - "column": 5 + "line": 76, + "column": 9 } } }, @@ -16169,144 +16633,44 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 1659, - "end": 1662, - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 83, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "k_in", - "start": 1663, - "end": 1667, + "value": "raw", + "start": 1577, + "end": 1580, "loc": { "start": { - "line": 83, - "column": 6 + "line": 76, + "column": 9 }, "end": { - "line": 83, - "column": 10 + "line": 76, + "column": 12 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1667, - "end": 1668, - "loc": { - "start": { - "line": 83, - "column": 10 - }, - "end": { - "line": 83, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "new_k_in", - "start": 1668, - "end": 1676, - "loc": { - "start": { - "line": 83, - "column": 11 - }, - "end": { - "line": 83, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1676, - "end": 1677, - "loc": { - "start": { - "line": 83, - "column": 19 - }, - "end": { - "line": 83, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1678, - "end": 1679, + "value": "=", + "start": 1581, + "end": 1582, "loc": { "start": { - "line": 83, - "column": 21 + "line": 76, + "column": 13 }, "end": { - "line": 83, - "column": 22 + "line": 76, + "column": 14 } } }, @@ -16325,16 +16689,16 @@ "updateContext": null }, "value": "this", - "start": 1684, - "end": 1688, + "start": 1583, + "end": 1587, "loc": { "start": { - "line": 84, - "column": 4 + "line": 76, + "column": 15 }, "end": { - "line": 84, - "column": 8 + "line": 76, + "column": 19 } } }, @@ -16351,16 +16715,16 @@ "binop": null, "updateContext": null }, - "start": 1688, - "end": 1689, + "start": 1587, + "end": 1588, "loc": { "start": { - "line": 84, - "column": 8 + "line": 76, + "column": 19 }, "end": { - "line": 84, - "column": 9 + "line": 76, + "column": 20 } } }, @@ -16376,17 +16740,17 @@ "postfix": false, "binop": null }, - "value": "set_date_sections", - "start": 1689, - "end": 1706, + "value": "toString", + "start": 1588, + "end": 1596, "loc": { "start": { - "line": 84, - "column": 9 + "line": 76, + "column": 20 }, "end": { - "line": 84, - "column": 26 + "line": 76, + "column": 28 } } }, @@ -16402,49 +16766,47 @@ "postfix": false, "binop": null }, - "start": 1706, - "end": 1707, + "start": 1596, + "end": 1597, "loc": { "start": { - "line": 84, - "column": 26 + "line": 76, + "column": 28 }, "end": { - "line": 84, - "column": 27 + "line": 76, + "column": 29 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 1707, - "end": 1708, + "start": 1597, + "end": 1598, "loc": { "start": { - "line": 84, - "column": 27 + "line": 76, + "column": 29 }, "end": { - "line": 84, - "column": 28 + "line": 76, + "column": 30 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -16455,67 +16817,72 @@ "binop": null, "updateContext": null }, - "start": 1708, - "end": 1709, + "start": 1598, + "end": 1599, "loc": { "start": { - "line": 84, - "column": 28 + "line": 76, + "column": 30 }, "end": { - "line": 84, - "column": 29 + "line": 76, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "new_k_in", - "start": 1710, - "end": 1718, + "value": "return", + "start": 1604, + "end": 1610, "loc": { "start": { - "line": 84, - "column": 30 + "line": 77, + "column": 4 }, "end": { - "line": 84, - "column": 38 + "line": 77, + "column": 10 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1718, - "end": 1719, + "value": "this", + "start": 1611, + "end": 1615, "loc": { "start": { - "line": 84, - "column": 38 + "line": 77, + "column": 11 }, "end": { - "line": 84, - "column": 39 + "line": 77, + "column": 15 } } }, @@ -16532,16 +16899,16 @@ "binop": null, "updateContext": null }, - "start": 1719, - "end": 1720, + "start": 1615, + "end": 1616, "loc": { "start": { - "line": 84, - "column": 39 + "line": 77, + "column": 15 }, "end": { - "line": 84, - "column": 40 + "line": 77, + "column": 16 } } }, @@ -16557,31 +16924,31 @@ "postfix": false, "binop": null }, - "start": 1723, - "end": 1724, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 85, + "line": 78, "column": 2 }, "end": { - "line": 85, + "line": 78, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1728, - "end": 1803, + "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", + "start": 1624, + "end": 1710, "loc": { "start": { - "line": 87, + "line": 80, "column": 2 }, "end": { - "line": 90, + "line": 83, "column": 5 } } @@ -16599,15 +16966,15 @@ "binop": null }, "value": "get", - "start": 1806, - "end": 1809, + "start": 1713, + "end": 1716, "loc": { "start": { - "line": 91, + "line": 84, "column": 2 }, "end": { - "line": 91, + "line": 84, "column": 5 } } @@ -16624,17 +16991,17 @@ "postfix": false, "binop": null }, - "value": "k_in", - "start": 1810, - "end": 1814, + "value": "length", + "start": 1717, + "end": 1723, "loc": { "start": { - "line": 91, + "line": 84, "column": 6 }, "end": { - "line": 91, - "column": 10 + "line": 84, + "column": 12 } } }, @@ -16650,16 +17017,16 @@ "postfix": false, "binop": null }, - "start": 1814, - "end": 1815, + "start": 1723, + "end": 1724, "loc": { "start": { - "line": 91, - "column": 10 + "line": 84, + "column": 12 }, "end": { - "line": 91, - "column": 11 + "line": 84, + "column": 13 } } }, @@ -16675,16 +17042,16 @@ "postfix": false, "binop": null }, - "start": 1815, - "end": 1816, + "start": 1724, + "end": 1725, "loc": { "start": { - "line": 91, - "column": 11 + "line": 84, + "column": 13 }, "end": { - "line": 91, - "column": 12 + "line": 84, + "column": 14 } } }, @@ -16700,16 +17067,16 @@ "postfix": false, "binop": null }, - "start": 1817, - "end": 1818, + "start": 1726, + "end": 1727, "loc": { "start": { - "line": 91, - "column": 13 + "line": 84, + "column": 15 }, "end": { - "line": 91, - "column": 14 + "line": 84, + "column": 16 } } }, @@ -16728,15 +17095,15 @@ "updateContext": null }, "value": "return", - "start": 1823, - "end": 1829, + "start": 1732, + "end": 1738, "loc": { "start": { - "line": 92, + "line": 85, "column": 4 }, "end": { - "line": 92, + "line": 85, "column": 10 } } @@ -16756,15 +17123,15 @@ "updateContext": null }, "value": "this", - "start": 1830, - "end": 1834, + "start": 1739, + "end": 1743, "loc": { "start": { - "line": 92, + "line": 85, "column": 11 }, "end": { - "line": 92, + "line": 85, "column": 15 } } @@ -16782,15 +17149,15 @@ "binop": null, "updateContext": null }, - "start": 1834, - "end": 1835, + "start": 1743, + "end": 1744, "loc": { "start": { - "line": 92, + "line": 85, "column": 15 }, "end": { - "line": 92, + "line": 85, "column": 16 } } @@ -16807,50 +17174,25 @@ "postfix": false, "binop": null }, - "value": "get_date_sections", - "start": 1835, - "end": 1852, + "value": "parts", + "start": 1744, + "end": 1749, "loc": { "start": { - "line": 92, + "line": 85, "column": 16 }, "end": { - "line": 92, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1852, - "end": 1853, - "loc": { - "start": { - "line": 92, - "column": 33 - }, - "end": { - "line": 92, - "column": 34 + "line": 85, + "column": 21 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16859,25 +17201,24 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 1853, - "end": 1854, + "start": 1749, + "end": 1750, "loc": { "start": { - "line": 92, - "column": 34 + "line": 85, + "column": 21 }, "end": { - "line": 92, - "column": 35 + "line": 85, + "column": 22 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16885,16 +17226,17 @@ "postfix": false, "binop": null }, - "start": 1854, - "end": 1855, + "value": "length", + "start": 1750, + "end": 1756, "loc": { "start": { - "line": 92, - "column": 35 + "line": 85, + "column": 22 }, "end": { - "line": 92, - "column": 36 + "line": 85, + "column": 28 } } }, @@ -16911,16 +17253,16 @@ "binop": null, "updateContext": null }, - "start": 1855, - "end": 1856, + "start": 1756, + "end": 1757, "loc": { "start": { - "line": 92, - "column": 36 + "line": 85, + "column": 28 }, "end": { - "line": 92, - "column": 37 + "line": 85, + "column": 29 } } }, @@ -16936,31 +17278,31 @@ "postfix": false, "binop": null }, - "start": 1859, - "end": 1860, + "start": 1760, + "end": 1761, "loc": { "start": { - "line": 93, + "line": 86, "column": 2 }, "end": { - "line": 93, + "line": 86, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1864, - "end": 1937, + "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", + "start": 1765, + "end": 1837, "loc": { "start": { - "line": 95, + "line": 88, "column": 2 }, "end": { - "line": 98, + "line": 91, "column": 5 } } @@ -16978,15 +17320,15 @@ "binop": null }, "value": "set", - "start": 1940, - "end": 1943, + "start": 1840, + "end": 1843, "loc": { "start": { - "line": 99, + "line": 92, "column": 2 }, "end": { - "line": 99, + "line": 92, "column": 5 } } @@ -17003,17 +17345,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 1944, - "end": 1949, + "value": "k_in", + "start": 1844, + "end": 1848, "loc": { "start": { - "line": 99, + "line": 92, "column": 6 }, "end": { - "line": 99, - "column": 11 + "line": 92, + "column": 10 } } }, @@ -17029,16 +17371,16 @@ "postfix": false, "binop": null }, - "start": 1949, - "end": 1950, + "start": 1848, + "end": 1849, "loc": { "start": { - "line": 99, - "column": 11 + "line": 92, + "column": 10 }, "end": { - "line": 99, - "column": 12 + "line": 92, + "column": 11 } } }, @@ -17054,17 +17396,17 @@ "postfix": false, "binop": null }, - "value": "new_winal", - "start": 1950, - "end": 1959, + "value": "new_k_in", + "start": 1849, + "end": 1857, "loc": { "start": { - "line": 99, - "column": 12 + "line": 92, + "column": 11 }, "end": { - "line": 99, - "column": 21 + "line": 92, + "column": 19 } } }, @@ -17080,16 +17422,16 @@ "postfix": false, "binop": null }, - "start": 1959, - "end": 1960, + "start": 1857, + "end": 1858, "loc": { "start": { - "line": 99, - "column": 21 + "line": 92, + "column": 19 }, "end": { - "line": 99, - "column": 22 + "line": 92, + "column": 20 } } }, @@ -17105,16 +17447,16 @@ "postfix": false, "binop": null }, - "start": 1961, - "end": 1962, + "start": 1859, + "end": 1860, "loc": { "start": { - "line": 99, - "column": 23 + "line": 92, + "column": 21 }, "end": { - "line": 99, - "column": 24 + "line": 92, + "column": 22 } } }, @@ -17133,15 +17475,15 @@ "updateContext": null }, "value": "this", - "start": 1967, - "end": 1971, + "start": 1865, + "end": 1869, "loc": { "start": { - "line": 100, + "line": 93, "column": 4 }, "end": { - "line": 100, + "line": 93, "column": 8 } } @@ -17159,15 +17501,15 @@ "binop": null, "updateContext": null }, - "start": 1971, - "end": 1972, + "start": 1869, + "end": 1870, "loc": { "start": { - "line": 100, + "line": 93, "column": 8 }, "end": { - "line": 100, + "line": 93, "column": 9 } } @@ -17185,15 +17527,15 @@ "binop": null }, "value": "set_date_sections", - "start": 1972, - "end": 1989, + "start": 1870, + "end": 1887, "loc": { "start": { - "line": 100, + "line": 93, "column": 9 }, "end": { - "line": 100, + "line": 93, "column": 26 } } @@ -17210,15 +17552,15 @@ "postfix": false, "binop": null }, - "start": 1989, - "end": 1990, + "start": 1887, + "end": 1888, "loc": { "start": { - "line": 100, + "line": 93, "column": 26 }, "end": { - "line": 100, + "line": 93, "column": 27 } } @@ -17236,16 +17578,16 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 1990, - "end": 1991, + "value": 0, + "start": 1888, + "end": 1889, "loc": { "start": { - "line": 100, + "line": 93, "column": 27 }, "end": { - "line": 100, + "line": 93, "column": 28 } } @@ -17263,15 +17605,15 @@ "binop": null, "updateContext": null }, - "start": 1991, - "end": 1992, + "start": 1889, + "end": 1890, "loc": { "start": { - "line": 100, + "line": 93, "column": 28 }, "end": { - "line": 100, + "line": 93, "column": 29 } } @@ -17288,17 +17630,17 @@ "postfix": false, "binop": null }, - "value": "new_winal", - "start": 1993, - "end": 2002, + "value": "new_k_in", + "start": 1891, + "end": 1899, "loc": { "start": { - "line": 100, + "line": 93, "column": 30 }, "end": { - "line": 100, - "column": 39 + "line": 93, + "column": 38 } } }, @@ -17314,16 +17656,16 @@ "postfix": false, "binop": null }, - "start": 2002, - "end": 2003, + "start": 1899, + "end": 1900, "loc": { "start": { - "line": 100, - "column": 39 + "line": 93, + "column": 38 }, "end": { - "line": 100, - "column": 40 + "line": 93, + "column": 39 } } }, @@ -17340,16 +17682,16 @@ "binop": null, "updateContext": null }, - "start": 2003, - "end": 2004, + "start": 1900, + "end": 1901, "loc": { "start": { - "line": 100, - "column": 40 + "line": 93, + "column": 39 }, "end": { - "line": 100, - "column": 41 + "line": 93, + "column": 40 } } }, @@ -17365,31 +17707,31 @@ "postfix": false, "binop": null }, - "start": 2007, - "end": 2008, + "start": 1904, + "end": 1905, "loc": { "start": { - "line": 101, + "line": 94, "column": 2 }, "end": { - "line": 101, + "line": 94, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 2012, - "end": 2088, + "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", + "start": 1909, + "end": 1984, "loc": { "start": { - "line": 103, + "line": 96, "column": 2 }, "end": { - "line": 106, + "line": 99, "column": 5 } } @@ -17407,15 +17749,15 @@ "binop": null }, "value": "get", - "start": 2091, - "end": 2094, + "start": 1987, + "end": 1990, "loc": { "start": { - "line": 107, + "line": 100, "column": 2 }, "end": { - "line": 107, + "line": 100, "column": 5 } } @@ -17432,17 +17774,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 2095, - "end": 2100, + "value": "k_in", + "start": 1991, + "end": 1995, "loc": { "start": { - "line": 107, + "line": 100, "column": 6 }, "end": { - "line": 107, - "column": 11 + "line": 100, + "column": 10 } } }, @@ -17458,16 +17800,16 @@ "postfix": false, "binop": null }, - "start": 2100, - "end": 2101, + "start": 1995, + "end": 1996, "loc": { "start": { - "line": 107, - "column": 11 + "line": 100, + "column": 10 }, "end": { - "line": 107, - "column": 12 + "line": 100, + "column": 11 } } }, @@ -17483,16 +17825,16 @@ "postfix": false, "binop": null }, - "start": 2101, - "end": 2102, + "start": 1996, + "end": 1997, "loc": { "start": { - "line": 107, - "column": 12 + "line": 100, + "column": 11 }, "end": { - "line": 107, - "column": 13 + "line": 100, + "column": 12 } } }, @@ -17508,16 +17850,16 @@ "postfix": false, "binop": null }, - "start": 2103, - "end": 2104, + "start": 1998, + "end": 1999, "loc": { "start": { - "line": 107, - "column": 14 + "line": 100, + "column": 13 }, "end": { - "line": 107, - "column": 15 + "line": 100, + "column": 14 } } }, @@ -17536,15 +17878,15 @@ "updateContext": null }, "value": "return", - "start": 2109, - "end": 2115, + "start": 2004, + "end": 2010, "loc": { "start": { - "line": 108, + "line": 101, "column": 4 }, "end": { - "line": 108, + "line": 101, "column": 10 } } @@ -17564,15 +17906,15 @@ "updateContext": null }, "value": "this", - "start": 2116, - "end": 2120, + "start": 2011, + "end": 2015, "loc": { "start": { - "line": 108, + "line": 101, "column": 11 }, "end": { - "line": 108, + "line": 101, "column": 15 } } @@ -17590,15 +17932,15 @@ "binop": null, "updateContext": null }, - "start": 2120, - "end": 2121, + "start": 2015, + "end": 2016, "loc": { "start": { - "line": 108, + "line": 101, "column": 15 }, "end": { - "line": 108, + "line": 101, "column": 16 } } @@ -17616,15 +17958,15 @@ "binop": null }, "value": "get_date_sections", - "start": 2121, - "end": 2138, + "start": 2016, + "end": 2033, "loc": { "start": { - "line": 108, + "line": 101, "column": 16 }, "end": { - "line": 108, + "line": 101, "column": 33 } } @@ -17641,15 +17983,15 @@ "postfix": false, "binop": null }, - "start": 2138, - "end": 2139, + "start": 2033, + "end": 2034, "loc": { "start": { - "line": 108, + "line": 101, "column": 33 }, "end": { - "line": 108, + "line": 101, "column": 34 } } @@ -17667,16 +18009,16 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 2139, - "end": 2140, + "value": 0, + "start": 2034, + "end": 2035, "loc": { "start": { - "line": 108, + "line": 101, "column": 34 }, "end": { - "line": 108, + "line": 101, "column": 35 } } @@ -17693,15 +18035,15 @@ "postfix": false, "binop": null }, - "start": 2140, - "end": 2141, + "start": 2035, + "end": 2036, "loc": { "start": { - "line": 108, + "line": 101, "column": 35 }, "end": { - "line": 108, + "line": 101, "column": 36 } } @@ -17719,15 +18061,15 @@ "binop": null, "updateContext": null }, - "start": 2141, - "end": 2142, + "start": 2036, + "end": 2037, "loc": { "start": { - "line": 108, + "line": 101, "column": 36 }, "end": { - "line": 108, + "line": 101, "column": 37 } } @@ -17744,31 +18086,31 @@ "postfix": false, "binop": null }, - "start": 2145, - "end": 2146, + "start": 2040, + "end": 2041, "loc": { "start": { - "line": 109, + "line": 102, "column": 2 }, "end": { - "line": 109, + "line": 102, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2150, - "end": 2221, + "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", + "start": 2045, + "end": 2118, "loc": { "start": { - "line": 111, + "line": 104, "column": 2 }, "end": { - "line": 114, + "line": 107, "column": 5 } } @@ -17786,15 +18128,15 @@ "binop": null }, "value": "set", - "start": 2224, - "end": 2227, + "start": 2121, + "end": 2124, "loc": { "start": { - "line": 115, + "line": 108, "column": 2 }, "end": { - "line": 115, + "line": 108, "column": 5 } } @@ -17811,17 +18153,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 2228, - "end": 2231, + "value": "winal", + "start": 2125, + "end": 2130, "loc": { "start": { - "line": 115, + "line": 108, "column": 6 }, "end": { - "line": 115, - "column": 9 + "line": 108, + "column": 11 } } }, @@ -17837,16 +18179,16 @@ "postfix": false, "binop": null }, - "start": 2231, - "end": 2232, + "start": 2130, + "end": 2131, "loc": { "start": { - "line": 115, - "column": 9 + "line": 108, + "column": 11 }, "end": { - "line": 115, - "column": 10 + "line": 108, + "column": 12 } } }, @@ -17862,17 +18204,17 @@ "postfix": false, "binop": null }, - "value": "new_tun", - "start": 2232, - "end": 2239, + "value": "new_winal", + "start": 2131, + "end": 2140, "loc": { "start": { - "line": 115, - "column": 10 + "line": 108, + "column": 12 }, "end": { - "line": 115, - "column": 17 + "line": 108, + "column": 21 } } }, @@ -17888,16 +18230,16 @@ "postfix": false, "binop": null }, - "start": 2239, - "end": 2240, + "start": 2140, + "end": 2141, "loc": { "start": { - "line": 115, - "column": 17 + "line": 108, + "column": 21 }, "end": { - "line": 115, - "column": 18 + "line": 108, + "column": 22 } } }, @@ -17913,16 +18255,16 @@ "postfix": false, "binop": null }, - "start": 2241, - "end": 2242, + "start": 2142, + "end": 2143, "loc": { "start": { - "line": 115, - "column": 19 + "line": 108, + "column": 23 }, "end": { - "line": 115, - "column": 20 + "line": 108, + "column": 24 } } }, @@ -17941,15 +18283,15 @@ "updateContext": null }, "value": "this", - "start": 2247, - "end": 2251, + "start": 2148, + "end": 2152, "loc": { "start": { - "line": 116, + "line": 109, "column": 4 }, "end": { - "line": 116, + "line": 109, "column": 8 } } @@ -17967,15 +18309,15 @@ "binop": null, "updateContext": null }, - "start": 2251, - "end": 2252, + "start": 2152, + "end": 2153, "loc": { "start": { - "line": 116, + "line": 109, "column": 8 }, "end": { - "line": 116, + "line": 109, "column": 9 } } @@ -17993,15 +18335,15 @@ "binop": null }, "value": "set_date_sections", - "start": 2252, - "end": 2269, + "start": 2153, + "end": 2170, "loc": { "start": { - "line": 116, + "line": 109, "column": 9 }, "end": { - "line": 116, + "line": 109, "column": 26 } } @@ -18018,15 +18360,15 @@ "postfix": false, "binop": null }, - "start": 2269, - "end": 2270, + "start": 2170, + "end": 2171, "loc": { "start": { - "line": 116, + "line": 109, "column": 26 }, "end": { - "line": 116, + "line": 109, "column": 27 } } @@ -18044,16 +18386,16 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 2270, - "end": 2271, + "value": 1, + "start": 2171, + "end": 2172, "loc": { "start": { - "line": 116, + "line": 109, "column": 27 }, "end": { - "line": 116, + "line": 109, "column": 28 } } @@ -18071,15 +18413,15 @@ "binop": null, "updateContext": null }, - "start": 2271, - "end": 2272, + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 116, + "line": 109, "column": 28 }, "end": { - "line": 116, + "line": 109, "column": 29 } } @@ -18096,17 +18438,17 @@ "postfix": false, "binop": null }, - "value": "new_tun", - "start": 2273, - "end": 2280, + "value": "new_winal", + "start": 2174, + "end": 2183, "loc": { "start": { - "line": 116, + "line": 109, "column": 30 }, "end": { - "line": 116, - "column": 37 + "line": 109, + "column": 39 } } }, @@ -18122,16 +18464,16 @@ "postfix": false, "binop": null }, - "start": 2280, - "end": 2281, + "start": 2183, + "end": 2184, "loc": { "start": { - "line": 116, - "column": 37 + "line": 109, + "column": 39 }, "end": { - "line": 116, - "column": 38 + "line": 109, + "column": 40 } } }, @@ -18148,16 +18490,16 @@ "binop": null, "updateContext": null }, - "start": 2281, - "end": 2282, + "start": 2184, + "end": 2185, "loc": { "start": { - "line": 116, - "column": 38 + "line": 109, + "column": 40 }, "end": { - "line": 116, - "column": 39 + "line": 109, + "column": 41 } } }, @@ -18173,31 +18515,31 @@ "postfix": false, "binop": null }, - "start": 2285, - "end": 2286, + "start": 2188, + "end": 2189, "loc": { "start": { - "line": 117, + "line": 110, "column": 2 }, "end": { - "line": 117, + "line": 110, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2290, - "end": 2364, + "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", + "start": 2193, + "end": 2269, "loc": { "start": { - "line": 119, + "line": 112, "column": 2 }, "end": { - "line": 122, + "line": 115, "column": 5 } } @@ -18215,15 +18557,15 @@ "binop": null }, "value": "get", - "start": 2367, - "end": 2370, + "start": 2272, + "end": 2275, "loc": { "start": { - "line": 123, + "line": 116, "column": 2 }, "end": { - "line": 123, + "line": 116, "column": 5 } } @@ -18240,17 +18582,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 2371, - "end": 2374, + "value": "winal", + "start": 2276, + "end": 2281, "loc": { "start": { - "line": 123, + "line": 116, "column": 6 }, "end": { - "line": 123, - "column": 9 + "line": 116, + "column": 11 } } }, @@ -18266,16 +18608,16 @@ "postfix": false, "binop": null }, - "start": 2374, - "end": 2375, + "start": 2281, + "end": 2282, "loc": { "start": { - "line": 123, - "column": 9 + "line": 116, + "column": 11 }, "end": { - "line": 123, - "column": 10 + "line": 116, + "column": 12 } } }, @@ -18291,16 +18633,16 @@ "postfix": false, "binop": null }, - "start": 2375, - "end": 2376, + "start": 2282, + "end": 2283, "loc": { "start": { - "line": 123, - "column": 10 + "line": 116, + "column": 12 }, "end": { - "line": 123, - "column": 11 + "line": 116, + "column": 13 } } }, @@ -18316,16 +18658,16 @@ "postfix": false, "binop": null }, - "start": 2377, - "end": 2378, + "start": 2284, + "end": 2285, "loc": { "start": { - "line": 123, - "column": 12 + "line": 116, + "column": 14 }, "end": { - "line": 123, - "column": 13 + "line": 116, + "column": 15 } } }, @@ -18344,15 +18686,15 @@ "updateContext": null }, "value": "return", - "start": 2383, - "end": 2389, + "start": 2290, + "end": 2296, "loc": { "start": { - "line": 124, + "line": 117, "column": 4 }, "end": { - "line": 124, + "line": 117, "column": 10 } } @@ -18372,15 +18714,15 @@ "updateContext": null }, "value": "this", - "start": 2390, - "end": 2394, + "start": 2297, + "end": 2301, "loc": { "start": { - "line": 124, + "line": 117, "column": 11 }, "end": { - "line": 124, + "line": 117, "column": 15 } } @@ -18398,15 +18740,15 @@ "binop": null, "updateContext": null }, - "start": 2394, - "end": 2395, + "start": 2301, + "end": 2302, "loc": { "start": { - "line": 124, + "line": 117, "column": 15 }, "end": { - "line": 124, + "line": 117, "column": 16 } } @@ -18424,15 +18766,15 @@ "binop": null }, "value": "get_date_sections", - "start": 2395, - "end": 2412, + "start": 2302, + "end": 2319, "loc": { "start": { - "line": 124, + "line": 117, "column": 16 }, "end": { - "line": 124, + "line": 117, "column": 33 } } @@ -18449,15 +18791,15 @@ "postfix": false, "binop": null }, - "start": 2412, - "end": 2413, + "start": 2319, + "end": 2320, "loc": { "start": { - "line": 124, + "line": 117, "column": 33 }, "end": { - "line": 124, + "line": 117, "column": 34 } } @@ -18475,16 +18817,16 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 2413, - "end": 2414, + "value": 1, + "start": 2320, + "end": 2321, "loc": { "start": { - "line": 124, + "line": 117, "column": 34 }, "end": { - "line": 124, + "line": 117, "column": 35 } } @@ -18501,15 +18843,15 @@ "postfix": false, "binop": null }, - "start": 2414, - "end": 2415, + "start": 2321, + "end": 2322, "loc": { "start": { - "line": 124, + "line": 117, "column": 35 }, "end": { - "line": 124, + "line": 117, "column": 36 } } @@ -18527,15 +18869,15 @@ "binop": null, "updateContext": null }, - "start": 2415, - "end": 2416, + "start": 2322, + "end": 2323, "loc": { "start": { - "line": 124, + "line": 117, "column": 36 }, "end": { - "line": 124, + "line": 117, "column": 37 } } @@ -18552,31 +18894,31 @@ "postfix": false, "binop": null }, - "start": 2419, - "end": 2420, + "start": 2326, + "end": 2327, "loc": { "start": { - "line": 125, + "line": 118, "column": 2 }, "end": { - "line": 125, + "line": 118, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2424, - "end": 2498, + "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", + "start": 2331, + "end": 2402, "loc": { "start": { - "line": 127, + "line": 120, "column": 2 }, "end": { - "line": 130, + "line": 123, "column": 5 } } @@ -18594,15 +18936,15 @@ "binop": null }, "value": "set", - "start": 2501, - "end": 2504, + "start": 2405, + "end": 2408, "loc": { "start": { - "line": 131, + "line": 124, "column": 2 }, "end": { - "line": 131, + "line": 124, "column": 5 } } @@ -18619,17 +18961,17 @@ "postfix": false, "binop": null }, - "value": "k_atun", - "start": 2505, - "end": 2511, + "value": "tun", + "start": 2409, + "end": 2412, "loc": { "start": { - "line": 131, + "line": 124, "column": 6 }, "end": { - "line": 131, - "column": 12 + "line": 124, + "column": 9 } } }, @@ -18645,16 +18987,16 @@ "postfix": false, "binop": null }, - "start": 2511, - "end": 2512, + "start": 2412, + "end": 2413, "loc": { "start": { - "line": 131, - "column": 12 + "line": 124, + "column": 9 }, "end": { - "line": 131, - "column": 13 + "line": 124, + "column": 10 } } }, @@ -18670,17 +19012,17 @@ "postfix": false, "binop": null }, - "value": "new_k_atun", - "start": 2512, - "end": 2522, + "value": "new_tun", + "start": 2413, + "end": 2420, "loc": { "start": { - "line": 131, - "column": 13 + "line": 124, + "column": 10 }, "end": { - "line": 131, - "column": 23 + "line": 124, + "column": 17 } } }, @@ -18696,16 +19038,16 @@ "postfix": false, "binop": null }, - "start": 2522, - "end": 2523, + "start": 2420, + "end": 2421, "loc": { "start": { - "line": 131, - "column": 23 + "line": 124, + "column": 17 }, "end": { - "line": 131, - "column": 24 + "line": 124, + "column": 18 } } }, @@ -18721,16 +19063,16 @@ "postfix": false, "binop": null }, - "start": 2524, - "end": 2525, + "start": 2422, + "end": 2423, "loc": { "start": { - "line": 131, - "column": 25 + "line": 124, + "column": 19 }, "end": { - "line": 131, - "column": 26 + "line": 124, + "column": 20 } } }, @@ -18749,15 +19091,15 @@ "updateContext": null }, "value": "this", - "start": 2530, - "end": 2534, + "start": 2428, + "end": 2432, "loc": { "start": { - "line": 132, + "line": 125, "column": 4 }, "end": { - "line": 132, + "line": 125, "column": 8 } } @@ -18775,15 +19117,15 @@ "binop": null, "updateContext": null }, - "start": 2534, - "end": 2535, + "start": 2432, + "end": 2433, "loc": { "start": { - "line": 132, + "line": 125, "column": 8 }, "end": { - "line": 132, + "line": 125, "column": 9 } } @@ -18801,15 +19143,15 @@ "binop": null }, "value": "set_date_sections", - "start": 2535, - "end": 2552, + "start": 2433, + "end": 2450, "loc": { "start": { - "line": 132, + "line": 125, "column": 9 }, "end": { - "line": 132, + "line": 125, "column": 26 } } @@ -18826,15 +19168,15 @@ "postfix": false, "binop": null }, - "start": 2552, - "end": 2553, + "start": 2450, + "end": 2451, "loc": { "start": { - "line": 132, + "line": 125, "column": 26 }, "end": { - "line": 132, + "line": 125, "column": 27 } } @@ -18852,16 +19194,16 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 2553, - "end": 2554, + "value": 2, + "start": 2451, + "end": 2452, "loc": { "start": { - "line": 132, + "line": 125, "column": 27 }, "end": { - "line": 132, + "line": 125, "column": 28 } } @@ -18879,15 +19221,15 @@ "binop": null, "updateContext": null }, - "start": 2554, - "end": 2555, + "start": 2452, + "end": 2453, "loc": { "start": { - "line": 132, + "line": 125, "column": 28 }, "end": { - "line": 132, + "line": 125, "column": 29 } } @@ -18904,17 +19246,17 @@ "postfix": false, "binop": null }, - "value": "new_k_atun", - "start": 2556, - "end": 2566, + "value": "new_tun", + "start": 2454, + "end": 2461, "loc": { "start": { - "line": 132, + "line": 125, "column": 30 }, "end": { - "line": 132, - "column": 40 + "line": 125, + "column": 37 } } }, @@ -18930,16 +19272,16 @@ "postfix": false, "binop": null }, - "start": 2566, - "end": 2567, + "start": 2461, + "end": 2462, "loc": { "start": { - "line": 132, - "column": 40 + "line": 125, + "column": 37 }, "end": { - "line": 132, - "column": 41 + "line": 125, + "column": 38 } } }, @@ -18956,16 +19298,16 @@ "binop": null, "updateContext": null }, - "start": 2567, - "end": 2568, + "start": 2462, + "end": 2463, "loc": { "start": { - "line": 132, - "column": 41 + "line": 125, + "column": 38 }, "end": { - "line": 132, - "column": 42 + "line": 125, + "column": 39 } } }, @@ -18981,31 +19323,31 @@ "postfix": false, "binop": null }, - "start": 2571, - "end": 2572, + "start": 2466, + "end": 2467, "loc": { "start": { - "line": 133, + "line": 126, "column": 2 }, "end": { - "line": 133, + "line": 126, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2576, - "end": 2653, + "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", + "start": 2471, + "end": 2545, "loc": { "start": { - "line": 135, + "line": 128, "column": 2 }, "end": { - "line": 138, + "line": 131, "column": 5 } } @@ -19023,15 +19365,15 @@ "binop": null }, "value": "get", - "start": 2656, - "end": 2659, + "start": 2548, + "end": 2551, "loc": { "start": { - "line": 139, + "line": 132, "column": 2 }, "end": { - "line": 139, + "line": 132, "column": 5 } } @@ -19048,17 +19390,17 @@ "postfix": false, "binop": null }, - "value": "k_atun", - "start": 2660, - "end": 2666, + "value": "tun", + "start": 2552, + "end": 2555, "loc": { "start": { - "line": 139, + "line": 132, "column": 6 }, "end": { - "line": 139, - "column": 12 + "line": 132, + "column": 9 } } }, @@ -19074,16 +19416,16 @@ "postfix": false, "binop": null }, - "start": 2666, - "end": 2667, + "start": 2555, + "end": 2556, "loc": { "start": { - "line": 139, - "column": 12 + "line": 132, + "column": 9 }, "end": { - "line": 139, - "column": 13 + "line": 132, + "column": 10 } } }, @@ -19099,16 +19441,16 @@ "postfix": false, "binop": null }, - "start": 2667, - "end": 2668, + "start": 2556, + "end": 2557, "loc": { "start": { - "line": 139, - "column": 13 + "line": 132, + "column": 10 }, "end": { - "line": 139, - "column": 14 + "line": 132, + "column": 11 } } }, @@ -19124,16 +19466,16 @@ "postfix": false, "binop": null }, - "start": 2669, - "end": 2670, + "start": 2558, + "end": 2559, "loc": { "start": { - "line": 139, - "column": 15 + "line": 132, + "column": 12 }, "end": { - "line": 139, - "column": 16 + "line": 132, + "column": 13 } } }, @@ -19152,15 +19494,15 @@ "updateContext": null }, "value": "return", - "start": 2675, - "end": 2681, + "start": 2564, + "end": 2570, "loc": { "start": { - "line": 140, + "line": 133, "column": 4 }, "end": { - "line": 140, + "line": 133, "column": 10 } } @@ -19180,15 +19522,15 @@ "updateContext": null }, "value": "this", - "start": 2682, - "end": 2686, + "start": 2571, + "end": 2575, "loc": { "start": { - "line": 140, + "line": 133, "column": 11 }, "end": { - "line": 140, + "line": 133, "column": 15 } } @@ -19206,15 +19548,15 @@ "binop": null, "updateContext": null }, - "start": 2686, - "end": 2687, + "start": 2575, + "end": 2576, "loc": { "start": { - "line": 140, + "line": 133, "column": 15 }, "end": { - "line": 140, + "line": 133, "column": 16 } } @@ -19232,15 +19574,15 @@ "binop": null }, "value": "get_date_sections", - "start": 2687, - "end": 2704, + "start": 2576, + "end": 2593, "loc": { "start": { - "line": 140, + "line": 133, "column": 16 }, "end": { - "line": 140, + "line": 133, "column": 33 } } @@ -19257,15 +19599,15 @@ "postfix": false, "binop": null }, - "start": 2704, - "end": 2705, + "start": 2593, + "end": 2594, "loc": { "start": { - "line": 140, + "line": 133, "column": 33 }, "end": { - "line": 140, + "line": 133, "column": 34 } } @@ -19283,16 +19625,16 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 2705, - "end": 2706, + "value": 2, + "start": 2594, + "end": 2595, "loc": { "start": { - "line": 140, + "line": 133, "column": 34 }, "end": { - "line": 140, + "line": 133, "column": 35 } } @@ -19309,15 +19651,15 @@ "postfix": false, "binop": null }, - "start": 2706, - "end": 2707, + "start": 2595, + "end": 2596, "loc": { "start": { - "line": 140, + "line": 133, "column": 35 }, "end": { - "line": 140, + "line": 133, "column": 36 } } @@ -19335,15 +19677,15 @@ "binop": null, "updateContext": null }, - "start": 2707, - "end": 2708, + "start": 2596, + "end": 2597, "loc": { "start": { - "line": 140, + "line": 133, "column": 36 }, "end": { - "line": 140, + "line": 133, "column": 37 } } @@ -19360,31 +19702,31 @@ "postfix": false, "binop": null }, - "start": 2711, - "end": 2712, + "start": 2600, + "end": 2601, "loc": { "start": { - "line": 141, + "line": 134, "column": 2 }, "end": { - "line": 141, + "line": 134, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2716, - "end": 2791, + "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", + "start": 2605, + "end": 2679, "loc": { "start": { - "line": 143, + "line": 136, "column": 2 }, "end": { - "line": 146, + "line": 139, "column": 5 } } @@ -19402,15 +19744,15 @@ "binop": null }, "value": "set", - "start": 2794, - "end": 2797, + "start": 2682, + "end": 2685, "loc": { "start": { - "line": 147, + "line": 140, "column": 2 }, "end": { - "line": 147, + "line": 140, "column": 5 } } @@ -19427,17 +19769,17 @@ "postfix": false, "binop": null }, - "value": "bak_tun", - "start": 2798, - "end": 2805, + "value": "k_atun", + "start": 2686, + "end": 2692, "loc": { "start": { - "line": 147, + "line": 140, "column": 6 }, "end": { - "line": 147, - "column": 13 + "line": 140, + "column": 12 } } }, @@ -19453,16 +19795,16 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2692, + "end": 2693, "loc": { "start": { - "line": 147, - "column": 13 + "line": 140, + "column": 12 }, "end": { - "line": 147, - "column": 14 + "line": 140, + "column": 13 } } }, @@ -19478,17 +19820,17 @@ "postfix": false, "binop": null }, - "value": "new_bak_tun", - "start": 2806, - "end": 2817, + "value": "new_k_atun", + "start": 2693, + "end": 2703, "loc": { "start": { - "line": 147, - "column": 14 + "line": 140, + "column": 13 }, "end": { - "line": 147, - "column": 25 + "line": 140, + "column": 23 } } }, @@ -19504,16 +19846,16 @@ "postfix": false, "binop": null }, - "start": 2817, - "end": 2818, + "start": 2703, + "end": 2704, "loc": { "start": { - "line": 147, - "column": 25 + "line": 140, + "column": 23 }, "end": { - "line": 147, - "column": 26 + "line": 140, + "column": 24 } } }, @@ -19529,16 +19871,16 @@ "postfix": false, "binop": null }, - "start": 2819, - "end": 2820, + "start": 2705, + "end": 2706, "loc": { "start": { - "line": 147, - "column": 27 + "line": 140, + "column": 25 }, "end": { - "line": 147, - "column": 28 + "line": 140, + "column": 26 } } }, @@ -19557,15 +19899,15 @@ "updateContext": null }, "value": "this", - "start": 2825, - "end": 2829, + "start": 2711, + "end": 2715, "loc": { "start": { - "line": 148, + "line": 141, "column": 4 }, "end": { - "line": 148, + "line": 141, "column": 8 } } @@ -19583,15 +19925,15 @@ "binop": null, "updateContext": null }, - "start": 2829, - "end": 2830, + "start": 2715, + "end": 2716, "loc": { "start": { - "line": 148, + "line": 141, "column": 8 }, "end": { - "line": 148, + "line": 141, "column": 9 } } @@ -19609,15 +19951,15 @@ "binop": null }, "value": "set_date_sections", - "start": 2830, - "end": 2847, + "start": 2716, + "end": 2733, "loc": { "start": { - "line": 148, + "line": 141, "column": 9 }, "end": { - "line": 148, + "line": 141, "column": 26 } } @@ -19634,15 +19976,15 @@ "postfix": false, "binop": null }, - "start": 2847, - "end": 2848, + "start": 2733, + "end": 2734, "loc": { "start": { - "line": 148, + "line": 141, "column": 26 }, "end": { - "line": 148, + "line": 141, "column": 27 } } @@ -19660,16 +20002,16 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 2848, - "end": 2849, + "value": 3, + "start": 2734, + "end": 2735, "loc": { "start": { - "line": 148, + "line": 141, "column": 27 }, "end": { - "line": 148, + "line": 141, "column": 28 } } @@ -19687,15 +20029,15 @@ "binop": null, "updateContext": null }, - "start": 2849, - "end": 2850, + "start": 2735, + "end": 2736, "loc": { "start": { - "line": 148, + "line": 141, "column": 28 }, "end": { - "line": 148, + "line": 141, "column": 29 } } @@ -19712,17 +20054,17 @@ "postfix": false, "binop": null }, - "value": "new_bak_tun", - "start": 2851, - "end": 2862, + "value": "new_k_atun", + "start": 2737, + "end": 2747, "loc": { "start": { - "line": 148, + "line": 141, "column": 30 }, "end": { - "line": 148, - "column": 41 + "line": 141, + "column": 40 } } }, @@ -19738,16 +20080,16 @@ "postfix": false, "binop": null }, - "start": 2862, - "end": 2863, + "start": 2747, + "end": 2748, "loc": { "start": { - "line": 148, - "column": 41 + "line": 141, + "column": 40 }, "end": { - "line": 148, - "column": 42 + "line": 141, + "column": 41 } } }, @@ -19764,16 +20106,16 @@ "binop": null, "updateContext": null }, - "start": 2863, - "end": 2864, + "start": 2748, + "end": 2749, "loc": { "start": { - "line": 148, - "column": 42 + "line": 141, + "column": 41 }, "end": { - "line": 148, - "column": 43 + "line": 141, + "column": 42 } } }, @@ -19789,31 +20131,31 @@ "postfix": false, "binop": null }, - "start": 2867, - "end": 2868, + "start": 2752, + "end": 2753, "loc": { "start": { - "line": 149, + "line": 142, "column": 2 }, "end": { - "line": 149, + "line": 142, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2872, - "end": 2950, + "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", + "start": 2757, + "end": 2834, "loc": { "start": { - "line": 151, + "line": 144, "column": 2 }, "end": { - "line": 154, + "line": 147, "column": 5 } } @@ -19831,15 +20173,15 @@ "binop": null }, "value": "get", - "start": 2953, - "end": 2956, + "start": 2837, + "end": 2840, "loc": { "start": { - "line": 155, + "line": 148, "column": 2 }, "end": { - "line": 155, + "line": 148, "column": 5 } } @@ -19856,17 +20198,17 @@ "postfix": false, "binop": null }, - "value": "bak_tun", - "start": 2957, - "end": 2964, + "value": "k_atun", + "start": 2841, + "end": 2847, "loc": { "start": { - "line": 155, + "line": 148, "column": 6 }, "end": { - "line": 155, - "column": 13 + "line": 148, + "column": 12 } } }, @@ -19882,16 +20224,16 @@ "postfix": false, "binop": null }, - "start": 2964, - "end": 2965, + "start": 2847, + "end": 2848, "loc": { "start": { - "line": 155, - "column": 13 + "line": 148, + "column": 12 }, "end": { - "line": 155, - "column": 14 + "line": 148, + "column": 13 } } }, @@ -19907,16 +20249,16 @@ "postfix": false, "binop": null }, - "start": 2965, - "end": 2966, + "start": 2848, + "end": 2849, "loc": { "start": { - "line": 155, - "column": 14 + "line": 148, + "column": 13 }, "end": { - "line": 155, - "column": 15 + "line": 148, + "column": 14 } } }, @@ -19932,16 +20274,16 @@ "postfix": false, "binop": null }, - "start": 2967, - "end": 2968, + "start": 2850, + "end": 2851, "loc": { "start": { - "line": 155, - "column": 16 + "line": 148, + "column": 15 }, "end": { - "line": 155, - "column": 17 + "line": 148, + "column": 16 } } }, @@ -19960,15 +20302,15 @@ "updateContext": null }, "value": "return", - "start": 2973, - "end": 2979, + "start": 2856, + "end": 2862, "loc": { "start": { - "line": 156, + "line": 149, "column": 4 }, "end": { - "line": 156, + "line": 149, "column": 10 } } @@ -19988,15 +20330,15 @@ "updateContext": null }, "value": "this", - "start": 2980, - "end": 2984, + "start": 2863, + "end": 2867, "loc": { "start": { - "line": 156, + "line": 149, "column": 11 }, "end": { - "line": 156, + "line": 149, "column": 15 } } @@ -20014,15 +20356,15 @@ "binop": null, "updateContext": null }, - "start": 2984, - "end": 2985, + "start": 2867, + "end": 2868, "loc": { "start": { - "line": 156, + "line": 149, "column": 15 }, "end": { - "line": 156, + "line": 149, "column": 16 } } @@ -20040,15 +20382,15 @@ "binop": null }, "value": "get_date_sections", - "start": 2985, - "end": 3002, + "start": 2868, + "end": 2885, "loc": { "start": { - "line": 156, + "line": 149, "column": 16 }, "end": { - "line": 156, + "line": 149, "column": 33 } } @@ -20065,15 +20407,15 @@ "postfix": false, "binop": null }, - "start": 3002, - "end": 3003, + "start": 2885, + "end": 2886, "loc": { "start": { - "line": 156, + "line": 149, "column": 33 }, "end": { - "line": 156, + "line": 149, "column": 34 } } @@ -20091,16 +20433,16 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 3003, - "end": 3004, + "value": 3, + "start": 2886, + "end": 2887, "loc": { "start": { - "line": 156, + "line": 149, "column": 34 }, "end": { - "line": 156, + "line": 149, "column": 35 } } @@ -20117,15 +20459,15 @@ "postfix": false, "binop": null }, - "start": 3004, - "end": 3005, + "start": 2887, + "end": 2888, "loc": { "start": { - "line": 156, + "line": 149, "column": 35 }, "end": { - "line": 156, + "line": 149, "column": 36 } } @@ -20143,15 +20485,15 @@ "binop": null, "updateContext": null }, - "start": 3005, - "end": 3006, + "start": 2888, + "end": 2889, "loc": { "start": { - "line": 156, + "line": 149, "column": 36 }, "end": { - "line": 156, + "line": 149, "column": 37 } } @@ -20168,31 +20510,31 @@ "postfix": false, "binop": null }, - "start": 3009, - "end": 3010, + "start": 2892, + "end": 2893, "loc": { "start": { - "line": 157, + "line": 150, "column": 2 }, "end": { - "line": 157, + "line": 150, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 3014, - "end": 3088, + "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", + "start": 2897, + "end": 2972, "loc": { "start": { - "line": 159, + "line": 152, "column": 2 }, "end": { - "line": 162, + "line": 155, "column": 5 } } @@ -20210,15 +20552,15 @@ "binop": null }, "value": "set", - "start": 3091, - "end": 3094, + "start": 2975, + "end": 2978, "loc": { "start": { - "line": 163, + "line": 156, "column": 2 }, "end": { - "line": 163, + "line": 156, "column": 5 } } @@ -20235,17 +20577,17 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 3095, - "end": 3101, + "value": "bak_tun", + "start": 2979, + "end": 2986, "loc": { "start": { - "line": 163, + "line": 156, "column": 6 }, "end": { - "line": 163, - "column": 12 + "line": 156, + "column": 13 } } }, @@ -20261,16 +20603,16 @@ "postfix": false, "binop": null }, - "start": 3101, - "end": 3102, + "start": 2986, + "end": 2987, "loc": { "start": { - "line": 163, - "column": 12 + "line": 156, + "column": 13 }, "end": { - "line": 163, - "column": 13 + "line": 156, + "column": 14 } } }, @@ -20287,16 +20629,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3102, - "end": 3113, + "start": 2987, + "end": 2998, "loc": { "start": { - "line": 163, - "column": 13 + "line": 156, + "column": 14 }, "end": { - "line": 163, - "column": 24 + "line": 156, + "column": 25 } } }, @@ -20312,16 +20654,16 @@ "postfix": false, "binop": null }, - "start": 3113, - "end": 3114, + "start": 2998, + "end": 2999, "loc": { "start": { - "line": 163, - "column": 24 + "line": 156, + "column": 25 }, "end": { - "line": 163, - "column": 25 + "line": 156, + "column": 26 } } }, @@ -20337,16 +20679,16 @@ "postfix": false, "binop": null }, - "start": 3115, - "end": 3116, + "start": 3000, + "end": 3001, "loc": { "start": { - "line": 163, - "column": 26 + "line": 156, + "column": 27 }, "end": { - "line": 163, - "column": 27 + "line": 156, + "column": 28 } } }, @@ -20365,15 +20707,15 @@ "updateContext": null }, "value": "this", - "start": 3121, - "end": 3125, + "start": 3006, + "end": 3010, "loc": { "start": { - "line": 164, + "line": 157, "column": 4 }, "end": { - "line": 164, + "line": 157, "column": 8 } } @@ -20391,15 +20733,15 @@ "binop": null, "updateContext": null }, - "start": 3125, - "end": 3126, + "start": 3010, + "end": 3011, "loc": { "start": { - "line": 164, + "line": 157, "column": 8 }, "end": { - "line": 164, + "line": 157, "column": 9 } } @@ -20417,15 +20759,15 @@ "binop": null }, "value": "set_date_sections", - "start": 3126, - "end": 3143, + "start": 3011, + "end": 3028, "loc": { "start": { - "line": 164, + "line": 157, "column": 9 }, "end": { - "line": 164, + "line": 157, "column": 26 } } @@ -20442,15 +20784,15 @@ "postfix": false, "binop": null }, - "start": 3143, - "end": 3144, + "start": 3028, + "end": 3029, "loc": { "start": { - "line": 164, + "line": 157, "column": 26 }, "end": { - "line": 164, + "line": 157, "column": 27 } } @@ -20468,16 +20810,16 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 3144, - "end": 3145, + "value": 4, + "start": 3029, + "end": 3030, "loc": { "start": { - "line": 164, + "line": 157, "column": 27 }, "end": { - "line": 164, + "line": 157, "column": 28 } } @@ -20495,15 +20837,15 @@ "binop": null, "updateContext": null }, - "start": 3145, - "end": 3146, + "start": 3030, + "end": 3031, "loc": { "start": { - "line": 164, + "line": 157, "column": 28 }, "end": { - "line": 164, + "line": 157, "column": 29 } } @@ -20521,15 +20863,15 @@ "binop": null }, "value": "new_bak_tun", - "start": 3147, - "end": 3158, + "start": 3032, + "end": 3043, "loc": { "start": { - "line": 164, + "line": 157, "column": 30 }, "end": { - "line": 164, + "line": 157, "column": 41 } } @@ -20546,15 +20888,15 @@ "postfix": false, "binop": null }, - "start": 3158, - "end": 3159, + "start": 3043, + "end": 3044, "loc": { "start": { - "line": 164, + "line": 157, "column": 41 }, "end": { - "line": 164, + "line": 157, "column": 42 } } @@ -20572,15 +20914,15 @@ "binop": null, "updateContext": null }, - "start": 3159, - "end": 3160, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 164, + "line": 157, "column": 42 }, "end": { - "line": 164, + "line": 157, "column": 43 } } @@ -20597,31 +20939,31 @@ "postfix": false, "binop": null }, - "start": 3163, - "end": 3164, + "start": 3048, + "end": 3049, "loc": { "start": { - "line": 165, + "line": 158, "column": 2 }, "end": { - "line": 165, + "line": 158, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3168, - "end": 3245, + "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", + "start": 3053, + "end": 3131, "loc": { "start": { - "line": 167, + "line": 160, "column": 2 }, "end": { - "line": 170, + "line": 163, "column": 5 } } @@ -20639,15 +20981,15 @@ "binop": null }, "value": "get", - "start": 3248, - "end": 3251, + "start": 3134, + "end": 3137, "loc": { "start": { - "line": 171, + "line": 164, "column": 2 }, "end": { - "line": 171, + "line": 164, "column": 5 } } @@ -20664,17 +21006,17 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 3252, - "end": 3258, + "value": "bak_tun", + "start": 3138, + "end": 3145, "loc": { "start": { - "line": 171, + "line": 164, "column": 6 }, "end": { - "line": 171, - "column": 12 + "line": 164, + "column": 13 } } }, @@ -20690,16 +21032,16 @@ "postfix": false, "binop": null }, - "start": 3258, - "end": 3259, + "start": 3145, + "end": 3146, "loc": { "start": { - "line": 171, - "column": 12 + "line": 164, + "column": 13 }, "end": { - "line": 171, - "column": 13 + "line": 164, + "column": 14 } } }, @@ -20715,16 +21057,16 @@ "postfix": false, "binop": null }, - "start": 3259, - "end": 3260, + "start": 3146, + "end": 3147, "loc": { "start": { - "line": 171, - "column": 13 + "line": 164, + "column": 14 }, "end": { - "line": 171, - "column": 14 + "line": 164, + "column": 15 } } }, @@ -20740,16 +21082,16 @@ "postfix": false, "binop": null }, - "start": 3261, - "end": 3262, + "start": 3148, + "end": 3149, "loc": { "start": { - "line": 171, - "column": 15 + "line": 164, + "column": 16 }, "end": { - "line": 171, - "column": 16 + "line": 164, + "column": 17 } } }, @@ -20768,15 +21110,15 @@ "updateContext": null }, "value": "return", - "start": 3267, - "end": 3273, + "start": 3154, + "end": 3160, "loc": { "start": { - "line": 172, + "line": 165, "column": 4 }, "end": { - "line": 172, + "line": 165, "column": 10 } } @@ -20796,15 +21138,15 @@ "updateContext": null }, "value": "this", - "start": 3274, - "end": 3278, + "start": 3161, + "end": 3165, "loc": { "start": { - "line": 172, + "line": 165, "column": 11 }, "end": { - "line": 172, + "line": 165, "column": 15 } } @@ -20822,15 +21164,15 @@ "binop": null, "updateContext": null }, - "start": 3278, - "end": 3279, + "start": 3165, + "end": 3166, "loc": { "start": { - "line": 172, + "line": 165, "column": 15 }, "end": { - "line": 172, + "line": 165, "column": 16 } } @@ -20848,15 +21190,15 @@ "binop": null }, "value": "get_date_sections", - "start": 3279, - "end": 3296, + "start": 3166, + "end": 3183, "loc": { "start": { - "line": 172, + "line": 165, "column": 16 }, "end": { - "line": 172, + "line": 165, "column": 33 } } @@ -20873,15 +21215,15 @@ "postfix": false, "binop": null }, - "start": 3296, - "end": 3297, + "start": 3183, + "end": 3184, "loc": { "start": { - "line": 172, + "line": 165, "column": 33 }, "end": { - "line": 172, + "line": 165, "column": 34 } } @@ -20899,16 +21241,16 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 3297, - "end": 3298, + "value": 4, + "start": 3184, + "end": 3185, "loc": { "start": { - "line": 172, + "line": 165, "column": 34 }, "end": { - "line": 172, + "line": 165, "column": 35 } } @@ -20925,15 +21267,15 @@ "postfix": false, "binop": null }, - "start": 3298, - "end": 3299, + "start": 3185, + "end": 3186, "loc": { "start": { - "line": 172, + "line": 165, "column": 35 }, "end": { - "line": 172, + "line": 165, "column": 36 } } @@ -20951,15 +21293,15 @@ "binop": null, "updateContext": null }, - "start": 3299, - "end": 3300, + "start": 3186, + "end": 3187, "loc": { "start": { - "line": 172, + "line": 165, "column": 36 }, "end": { - "line": 172, + "line": 165, "column": 37 } } @@ -20976,31 +21318,31 @@ "postfix": false, "binop": null }, - "start": 3303, - "end": 3304, + "start": 3190, + "end": 3191, "loc": { "start": { - "line": 173, + "line": 166, "column": 2 }, "end": { - "line": 173, + "line": 166, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3308, - "end": 3384, + "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", + "start": 3195, + "end": 3269, "loc": { "start": { - "line": 175, + "line": 168, "column": 2 }, "end": { - "line": 178, + "line": 171, "column": 5 } } @@ -21018,15 +21360,15 @@ "binop": null }, "value": "set", - "start": 3387, - "end": 3390, + "start": 3272, + "end": 3275, "loc": { "start": { - "line": 179, + "line": 172, "column": 2 }, "end": { - "line": 179, + "line": 172, "column": 5 } } @@ -21043,17 +21385,17 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 3391, - "end": 3399, + "value": "piktun", + "start": 3276, + "end": 3282, "loc": { "start": { - "line": 179, + "line": 172, "column": 6 }, "end": { - "line": 179, - "column": 14 + "line": 172, + "column": 12 } } }, @@ -21069,16 +21411,16 @@ "postfix": false, "binop": null }, - "start": 3399, - "end": 3400, + "start": 3282, + "end": 3283, "loc": { "start": { - "line": 179, - "column": 14 + "line": 172, + "column": 12 }, "end": { - "line": 179, - "column": 15 + "line": 172, + "column": 13 } } }, @@ -21095,16 +21437,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3400, - "end": 3411, + "start": 3283, + "end": 3294, "loc": { "start": { - "line": 179, - "column": 15 + "line": 172, + "column": 13 }, "end": { - "line": 179, - "column": 26 + "line": 172, + "column": 24 } } }, @@ -21120,16 +21462,16 @@ "postfix": false, "binop": null }, - "start": 3411, - "end": 3412, + "start": 3294, + "end": 3295, "loc": { "start": { - "line": 179, - "column": 26 + "line": 172, + "column": 24 }, "end": { - "line": 179, - "column": 27 + "line": 172, + "column": 25 } } }, @@ -21145,16 +21487,16 @@ "postfix": false, "binop": null }, - "start": 3413, - "end": 3414, + "start": 3296, + "end": 3297, "loc": { "start": { - "line": 179, - "column": 28 + "line": 172, + "column": 26 }, "end": { - "line": 179, - "column": 29 + "line": 172, + "column": 27 } } }, @@ -21173,15 +21515,15 @@ "updateContext": null }, "value": "this", - "start": 3419, - "end": 3423, + "start": 3302, + "end": 3306, "loc": { "start": { - "line": 180, + "line": 173, "column": 4 }, "end": { - "line": 180, + "line": 173, "column": 8 } } @@ -21199,15 +21541,15 @@ "binop": null, "updateContext": null }, - "start": 3423, - "end": 3424, + "start": 3306, + "end": 3307, "loc": { "start": { - "line": 180, + "line": 173, "column": 8 }, "end": { - "line": 180, + "line": 173, "column": 9 } } @@ -21225,15 +21567,15 @@ "binop": null }, "value": "set_date_sections", - "start": 3424, - "end": 3441, + "start": 3307, + "end": 3324, "loc": { "start": { - "line": 180, + "line": 173, "column": 9 }, "end": { - "line": 180, + "line": 173, "column": 26 } } @@ -21250,15 +21592,15 @@ "postfix": false, "binop": null }, - "start": 3441, - "end": 3442, + "start": 3324, + "end": 3325, "loc": { "start": { - "line": 180, + "line": 173, "column": 26 }, "end": { - "line": 180, + "line": 173, "column": 27 } } @@ -21276,16 +21618,16 @@ "binop": null, "updateContext": null }, - "value": 6, - "start": 3442, - "end": 3443, + "value": 5, + "start": 3325, + "end": 3326, "loc": { "start": { - "line": 180, + "line": 173, "column": 27 }, "end": { - "line": 180, + "line": 173, "column": 28 } } @@ -21303,15 +21645,15 @@ "binop": null, "updateContext": null }, - "start": 3443, - "end": 3444, + "start": 3326, + "end": 3327, "loc": { "start": { - "line": 180, + "line": 173, "column": 28 }, "end": { - "line": 180, + "line": 173, "column": 29 } } @@ -21329,15 +21671,15 @@ "binop": null }, "value": "new_bak_tun", - "start": 3445, - "end": 3456, + "start": 3328, + "end": 3339, "loc": { "start": { - "line": 180, + "line": 173, "column": 30 }, "end": { - "line": 180, + "line": 173, "column": 41 } } @@ -21354,15 +21696,15 @@ "postfix": false, "binop": null }, - "start": 3456, - "end": 3457, + "start": 3339, + "end": 3340, "loc": { "start": { - "line": 180, + "line": 173, "column": 41 }, "end": { - "line": 180, + "line": 173, "column": 42 } } @@ -21380,15 +21722,15 @@ "binop": null, "updateContext": null }, - "start": 3457, - "end": 3458, + "start": 3340, + "end": 3341, "loc": { "start": { - "line": 180, + "line": 173, "column": 42 }, "end": { - "line": 180, + "line": 173, "column": 43 } } @@ -21405,31 +21747,31 @@ "postfix": false, "binop": null }, - "start": 3461, - "end": 3462, + "start": 3344, + "end": 3345, "loc": { "start": { - "line": 181, + "line": 174, "column": 2 }, "end": { - "line": 181, + "line": 174, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3466, - "end": 3545, + "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", + "start": 3349, + "end": 3426, "loc": { "start": { - "line": 183, + "line": 176, "column": 2 }, "end": { - "line": 186, + "line": 179, "column": 5 } } @@ -21447,15 +21789,15 @@ "binop": null }, "value": "get", - "start": 3548, - "end": 3551, + "start": 3429, + "end": 3432, "loc": { "start": { - "line": 187, + "line": 180, "column": 2 }, "end": { - "line": 187, + "line": 180, "column": 5 } } @@ -21472,17 +21814,17 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 3552, - "end": 3560, + "value": "piktun", + "start": 3433, + "end": 3439, "loc": { "start": { - "line": 187, + "line": 180, "column": 6 }, "end": { - "line": 187, - "column": 14 + "line": 180, + "column": 12 } } }, @@ -21498,16 +21840,16 @@ "postfix": false, "binop": null }, - "start": 3560, - "end": 3561, + "start": 3439, + "end": 3440, "loc": { "start": { - "line": 187, - "column": 14 + "line": 180, + "column": 12 }, "end": { - "line": 187, - "column": 15 + "line": 180, + "column": 13 } } }, @@ -21523,16 +21865,16 @@ "postfix": false, "binop": null }, - "start": 3561, - "end": 3562, + "start": 3440, + "end": 3441, "loc": { "start": { - "line": 187, - "column": 15 + "line": 180, + "column": 13 }, "end": { - "line": 187, - "column": 16 + "line": 180, + "column": 14 } } }, @@ -21548,16 +21890,16 @@ "postfix": false, "binop": null }, - "start": 3563, - "end": 3564, + "start": 3442, + "end": 3443, "loc": { "start": { - "line": 187, - "column": 17 + "line": 180, + "column": 15 }, "end": { - "line": 187, - "column": 18 + "line": 180, + "column": 16 } } }, @@ -21576,15 +21918,15 @@ "updateContext": null }, "value": "return", - "start": 3569, - "end": 3575, + "start": 3448, + "end": 3454, "loc": { "start": { - "line": 188, + "line": 181, "column": 4 }, "end": { - "line": 188, + "line": 181, "column": 10 } } @@ -21604,15 +21946,15 @@ "updateContext": null }, "value": "this", - "start": 3576, - "end": 3580, + "start": 3455, + "end": 3459, "loc": { "start": { - "line": 188, + "line": 181, "column": 11 }, "end": { - "line": 188, + "line": 181, "column": 15 } } @@ -21630,15 +21972,15 @@ "binop": null, "updateContext": null }, - "start": 3580, - "end": 3581, + "start": 3459, + "end": 3460, "loc": { "start": { - "line": 188, + "line": 181, "column": 15 }, "end": { - "line": 188, + "line": 181, "column": 16 } } @@ -21656,15 +21998,15 @@ "binop": null }, "value": "get_date_sections", - "start": 3581, - "end": 3598, + "start": 3460, + "end": 3477, "loc": { "start": { - "line": 188, + "line": 181, "column": 16 }, "end": { - "line": 188, + "line": 181, "column": 33 } } @@ -21681,15 +22023,15 @@ "postfix": false, "binop": null }, - "start": 3598, - "end": 3599, + "start": 3477, + "end": 3478, "loc": { "start": { - "line": 188, + "line": 181, "column": 33 }, "end": { - "line": 188, + "line": 181, "column": 34 } } @@ -21707,16 +22049,16 @@ "binop": null, "updateContext": null }, - "value": 6, - "start": 3599, - "end": 3600, + "value": 5, + "start": 3478, + "end": 3479, "loc": { "start": { - "line": 188, + "line": 181, "column": 34 }, "end": { - "line": 188, + "line": 181, "column": 35 } } @@ -21733,15 +22075,15 @@ "postfix": false, "binop": null }, - "start": 3600, - "end": 3601, + "start": 3479, + "end": 3480, "loc": { "start": { - "line": 188, + "line": 181, "column": 35 }, "end": { - "line": 188, + "line": 181, "column": 36 } } @@ -21759,15 +22101,15 @@ "binop": null, "updateContext": null }, - "start": 3601, - "end": 3602, + "start": 3480, + "end": 3481, "loc": { "start": { - "line": 188, + "line": 181, "column": 36 }, "end": { - "line": 188, + "line": 181, "column": 37 } } @@ -21784,31 +22126,31 @@ "postfix": false, "binop": null }, - "start": 3605, - "end": 3606, + "start": 3484, + "end": 3485, "loc": { "start": { - "line": 189, + "line": 182, "column": 2 }, "end": { - "line": 189, + "line": 182, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3610, - "end": 3688, + "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", + "start": 3489, + "end": 3565, "loc": { "start": { - "line": 191, + "line": 184, "column": 2 }, "end": { - "line": 194, + "line": 187, "column": 5 } } @@ -21826,15 +22168,15 @@ "binop": null }, "value": "set", - "start": 3691, - "end": 3694, + "start": 3568, + "end": 3571, "loc": { "start": { - "line": 195, + "line": 188, "column": 2 }, "end": { - "line": 195, + "line": 188, "column": 5 } } @@ -21851,17 +22193,17 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 3695, - "end": 3705, + "value": "kalabtun", + "start": 3572, + "end": 3580, "loc": { "start": { - "line": 195, + "line": 188, "column": 6 }, "end": { - "line": 195, - "column": 16 + "line": 188, + "column": 14 } } }, @@ -21877,16 +22219,16 @@ "postfix": false, "binop": null }, - "start": 3705, - "end": 3706, + "start": 3580, + "end": 3581, "loc": { "start": { - "line": 195, - "column": 16 + "line": 188, + "column": 14 }, "end": { - "line": 195, - "column": 17 + "line": 188, + "column": 15 } } }, @@ -21903,16 +22245,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3706, - "end": 3717, + "start": 3581, + "end": 3592, "loc": { "start": { - "line": 195, - "column": 17 + "line": 188, + "column": 15 }, "end": { - "line": 195, - "column": 28 + "line": 188, + "column": 26 } } }, @@ -21928,16 +22270,16 @@ "postfix": false, "binop": null }, - "start": 3717, - "end": 3718, + "start": 3592, + "end": 3593, "loc": { "start": { - "line": 195, - "column": 28 + "line": 188, + "column": 26 }, "end": { - "line": 195, - "column": 29 + "line": 188, + "column": 27 } } }, @@ -21953,16 +22295,16 @@ "postfix": false, "binop": null }, - "start": 3719, - "end": 3720, + "start": 3594, + "end": 3595, "loc": { "start": { - "line": 195, - "column": 30 + "line": 188, + "column": 28 }, "end": { - "line": 195, - "column": 31 + "line": 188, + "column": 29 } } }, @@ -21981,15 +22323,15 @@ "updateContext": null }, "value": "this", - "start": 3725, - "end": 3729, + "start": 3600, + "end": 3604, "loc": { "start": { - "line": 196, + "line": 189, "column": 4 }, "end": { - "line": 196, + "line": 189, "column": 8 } } @@ -22007,15 +22349,15 @@ "binop": null, "updateContext": null }, - "start": 3729, - "end": 3730, + "start": 3604, + "end": 3605, "loc": { "start": { - "line": 196, + "line": 189, "column": 8 }, "end": { - "line": 196, + "line": 189, "column": 9 } } @@ -22033,15 +22375,15 @@ "binop": null }, "value": "set_date_sections", - "start": 3730, - "end": 3747, + "start": 3605, + "end": 3622, "loc": { "start": { - "line": 196, + "line": 189, "column": 9 }, "end": { - "line": 196, + "line": 189, "column": 26 } } @@ -22058,15 +22400,15 @@ "postfix": false, "binop": null }, - "start": 3747, - "end": 3748, + "start": 3622, + "end": 3623, "loc": { "start": { - "line": 196, + "line": 189, "column": 26 }, "end": { - "line": 196, + "line": 189, "column": 27 } } @@ -22084,16 +22426,16 @@ "binop": null, "updateContext": null }, - "value": 7, - "start": 3748, - "end": 3749, + "value": 6, + "start": 3623, + "end": 3624, "loc": { "start": { - "line": 196, + "line": 189, "column": 27 }, "end": { - "line": 196, + "line": 189, "column": 28 } } @@ -22111,15 +22453,15 @@ "binop": null, "updateContext": null }, - "start": 3749, - "end": 3750, + "start": 3624, + "end": 3625, "loc": { "start": { - "line": 196, + "line": 189, "column": 28 }, "end": { - "line": 196, + "line": 189, "column": 29 } } @@ -22137,15 +22479,15 @@ "binop": null }, "value": "new_bak_tun", - "start": 3751, - "end": 3762, + "start": 3626, + "end": 3637, "loc": { "start": { - "line": 196, + "line": 189, "column": 30 }, "end": { - "line": 196, + "line": 189, "column": 41 } } @@ -22162,15 +22504,15 @@ "postfix": false, "binop": null }, - "start": 3762, - "end": 3763, + "start": 3637, + "end": 3638, "loc": { "start": { - "line": 196, + "line": 189, "column": 41 }, "end": { - "line": 196, + "line": 189, "column": 42 } } @@ -22188,15 +22530,15 @@ "binop": null, "updateContext": null }, - "start": 3763, - "end": 3764, + "start": 3638, + "end": 3639, "loc": { "start": { - "line": 196, + "line": 189, "column": 42 }, "end": { - "line": 196, + "line": 189, "column": 43 } } @@ -22213,31 +22555,31 @@ "postfix": false, "binop": null }, - "start": 3767, - "end": 3768, + "start": 3642, + "end": 3643, "loc": { "start": { - "line": 197, + "line": 190, "column": 2 }, "end": { - "line": 197, + "line": 190, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3772, - "end": 3853, + "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", + "start": 3647, + "end": 3726, "loc": { "start": { - "line": 199, + "line": 192, "column": 2 }, "end": { - "line": 202, + "line": 195, "column": 5 } } @@ -22255,15 +22597,15 @@ "binop": null }, "value": "get", - "start": 3856, - "end": 3859, + "start": 3729, + "end": 3732, "loc": { "start": { - "line": 203, + "line": 196, "column": 2 }, "end": { - "line": 203, + "line": 196, "column": 5 } } @@ -22280,17 +22622,17 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 3860, - "end": 3870, + "value": "kalabtun", + "start": 3733, + "end": 3741, "loc": { "start": { - "line": 203, + "line": 196, "column": 6 }, "end": { - "line": 203, - "column": 16 + "line": 196, + "column": 14 } } }, @@ -22306,16 +22648,16 @@ "postfix": false, "binop": null }, - "start": 3870, - "end": 3871, + "start": 3741, + "end": 3742, "loc": { "start": { - "line": 203, - "column": 16 + "line": 196, + "column": 14 }, "end": { - "line": 203, - "column": 17 + "line": 196, + "column": 15 } } }, @@ -22331,16 +22673,16 @@ "postfix": false, "binop": null }, - "start": 3871, - "end": 3872, + "start": 3742, + "end": 3743, "loc": { "start": { - "line": 203, - "column": 17 + "line": 196, + "column": 15 }, "end": { - "line": 203, - "column": 18 + "line": 196, + "column": 16 } } }, @@ -22356,16 +22698,16 @@ "postfix": false, "binop": null }, - "start": 3873, - "end": 3874, + "start": 3744, + "end": 3745, "loc": { "start": { - "line": 203, - "column": 19 + "line": 196, + "column": 17 }, "end": { - "line": 203, - "column": 20 + "line": 196, + "column": 18 } } }, @@ -22384,15 +22726,15 @@ "updateContext": null }, "value": "return", - "start": 3879, - "end": 3885, + "start": 3750, + "end": 3756, "loc": { "start": { - "line": 204, + "line": 197, "column": 4 }, "end": { - "line": 204, + "line": 197, "column": 10 } } @@ -22412,15 +22754,15 @@ "updateContext": null }, "value": "this", - "start": 3886, - "end": 3890, + "start": 3757, + "end": 3761, "loc": { "start": { - "line": 204, + "line": 197, "column": 11 }, "end": { - "line": 204, + "line": 197, "column": 15 } } @@ -22438,15 +22780,15 @@ "binop": null, "updateContext": null }, - "start": 3890, - "end": 3891, + "start": 3761, + "end": 3762, "loc": { "start": { - "line": 204, + "line": 197, "column": 15 }, "end": { - "line": 204, + "line": 197, "column": 16 } } @@ -22464,15 +22806,15 @@ "binop": null }, "value": "get_date_sections", - "start": 3891, - "end": 3908, + "start": 3762, + "end": 3779, "loc": { "start": { - "line": 204, + "line": 197, "column": 16 }, "end": { - "line": 204, + "line": 197, "column": 33 } } @@ -22489,15 +22831,15 @@ "postfix": false, "binop": null }, - "start": 3908, - "end": 3909, + "start": 3779, + "end": 3780, "loc": { "start": { - "line": 204, + "line": 197, "column": 33 }, "end": { - "line": 204, + "line": 197, "column": 34 } } @@ -22515,16 +22857,16 @@ "binop": null, "updateContext": null }, - "value": 7, - "start": 3909, - "end": 3910, + "value": 6, + "start": 3780, + "end": 3781, "loc": { "start": { - "line": 204, + "line": 197, "column": 34 }, "end": { - "line": 204, + "line": 197, "column": 35 } } @@ -22541,15 +22883,15 @@ "postfix": false, "binop": null }, - "start": 3910, - "end": 3911, + "start": 3781, + "end": 3782, "loc": { "start": { - "line": 204, + "line": 197, "column": 35 }, "end": { - "line": 204, + "line": 197, "column": 36 } } @@ -22567,15 +22909,15 @@ "binop": null, "updateContext": null }, - "start": 3911, - "end": 3912, + "start": 3782, + "end": 3783, "loc": { "start": { - "line": 204, + "line": 197, "column": 36 }, "end": { - "line": 204, + "line": 197, "column": 37 } } @@ -22592,31 +22934,31 @@ "postfix": false, "binop": null }, - "start": 3915, - "end": 3916, + "start": 3786, + "end": 3787, "loc": { "start": { - "line": 205, + "line": 198, "column": 2 }, "end": { - "line": 205, + "line": 198, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n *\n * @return {any}\n ", - "start": 3920, - "end": 3953, + "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", + "start": 3791, + "end": 3869, "loc": { "start": { - "line": 207, + "line": 200, "column": 2 }, "end": { - "line": 210, + "line": 203, "column": 5 } } @@ -22633,16 +22975,16 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 3956, - "end": 3959, + "value": "set", + "start": 3872, + "end": 3875, "loc": { "start": { - "line": 211, + "line": 204, "column": 2 }, "end": { - "line": 211, + "line": 204, "column": 5 } } @@ -22659,17 +23001,17 @@ "postfix": false, "binop": null }, - "value": "lord_of_night", - "start": 3960, - "end": 3973, + "value": "kinchiltun", + "start": 3876, + "end": 3886, "loc": { "start": { - "line": 211, + "line": 204, "column": 6 }, "end": { - "line": 211, - "column": 19 + "line": 204, + "column": 16 } } }, @@ -22685,24 +23027,24 @@ "postfix": false, "binop": null }, - "start": 3973, - "end": 3974, + "start": 3886, + "end": 3887, "loc": { "start": { - "line": 211, - "column": 19 + "line": 204, + "column": 16 }, "end": { - "line": 211, - "column": 20 + "line": 204, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22710,24 +23052,25 @@ "postfix": false, "binop": null }, - "start": 3974, - "end": 3975, + "value": "new_bak_tun", + "start": 3887, + "end": 3898, "loc": { "start": { - "line": 211, - "column": 20 + "line": 204, + "column": 17 }, "end": { - "line": 211, - "column": 21 + "line": 204, + "column": 28 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22735,50 +23078,48 @@ "postfix": false, "binop": null }, - "start": 3976, - "end": 3977, + "start": 3898, + "end": 3899, "loc": { "start": { - "line": 211, - "column": 22 + "line": 204, + "column": 28 }, "end": { - "line": 211, - "column": 23 + "line": 204, + "column": 29 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3982, - "end": 3988, + "start": 3900, + "end": 3901, "loc": { "start": { - "line": 212, - "column": 4 + "line": 204, + "column": 30 }, "end": { - "line": 212, - "column": 10 + "line": 204, + "column": 31 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22786,19 +23127,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "night", - "start": 3989, - "end": 3994, + "value": "this", + "start": 3906, + "end": 3910, "loc": { "start": { - "line": 212, - "column": 11 + "line": 205, + "column": 4 }, "end": { - "line": 212, - "column": 16 + "line": 205, + "column": 8 } } }, @@ -22815,16 +23157,16 @@ "binop": null, "updateContext": null }, - "start": 3994, - "end": 3995, + "start": 3910, + "end": 3911, "loc": { "start": { - "line": 212, - "column": 16 + "line": 205, + "column": 8 }, "end": { - "line": 212, - "column": 17 + "line": 205, + "column": 9 } } }, @@ -22840,17 +23182,17 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 3995, - "end": 3998, + "value": "set_date_sections", + "start": 3911, + "end": 3928, "loc": { "start": { - "line": 212, - "column": 17 + "line": 205, + "column": 9 }, "end": { - "line": 212, - "column": 20 + "line": 205, + "column": 26 } } }, @@ -22866,22 +23208,22 @@ "postfix": false, "binop": null }, - "start": 3998, - "end": 3999, + "start": 3928, + "end": 3929, "loc": { "start": { - "line": 212, - "column": 20 + "line": 205, + "column": 26 }, "end": { - "line": 212, - "column": 21 + "line": 205, + "column": 27 } } }, { "type": { - "label": "`", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22889,25 +23231,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4006, - "end": 4007, + "value": 7, + "start": 3929, + "end": 3930, "loc": { "start": { - "line": 213, - "column": 6 + "line": 205, + "column": 27 }, "end": { - "line": 213, - "column": 7 + "line": 205, + "column": 28 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22917,24 +23261,141 @@ "binop": null, "updateContext": null }, - "value": "G", - "start": 4007, - "end": 4008, + "start": 3930, + "end": 3931, "loc": { "start": { - "line": 213, - "column": 7 + "line": 205, + "column": 28 }, "end": { - "line": 213, - "column": 8 + "line": 205, + "column": 29 } } }, { "type": { - "label": "${", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "new_bak_tun", + "start": 3932, + "end": 3943, + "loc": { + "start": { + "line": 205, + "column": 30 + }, + "end": { + "line": 205, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3943, + "end": 3944, + "loc": { + "start": { + "line": 205, + "column": 41 + }, + "end": { + "line": 205, + "column": 42 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3944, + "end": 3945, + "loc": { + "start": { + "line": 205, + "column": 42 + }, + "end": { + "line": 205, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3948, + "end": 3949, + "loc": { + "start": { + "line": 206, + "column": 2 + }, + "end": { + "line": 206, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", + "start": 3953, + "end": 4034, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 211, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22943,16 +23404,43 @@ "postfix": false, "binop": null }, - "start": 4008, - "end": 4010, + "value": "get", + "start": 4037, + "end": 4040, "loc": { "start": { - "line": 213, - "column": 8 + "line": 212, + "column": 2 }, "end": { - "line": 213, - "column": 10 + "line": 212, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kinchiltun", + "start": 4041, + "end": 4051, + "loc": { + "start": { + "line": 212, + "column": 6 + }, + "end": { + "line": 212, + "column": 16 } } }, @@ -22968,22 +23456,47 @@ "postfix": false, "binop": null }, - "start": 4010, - "end": 4011, + "start": 4051, + "end": 4052, "loc": { "start": { - "line": 213, - "column": 10 + "line": 212, + "column": 16 }, "end": { - "line": 213, - "column": 11 + "line": 212, + "column": 17 } } }, { "type": { - "label": "(", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4052, + "end": 4053, + "loc": { + "start": { + "line": 212, + "column": 17 + }, + "end": { + "line": 212, + "column": 18 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -22993,16 +23506,44 @@ "postfix": false, "binop": null }, - "start": 4011, - "end": 4012, + "start": 4054, + "end": 4055, + "loc": { + "start": { + "line": 212, + "column": 19 + }, + "end": { + "line": 212, + "column": 20 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4060, + "end": 4066, "loc": { "start": { "line": 213, - "column": 11 + "column": 4 }, "end": { "line": 213, - "column": 12 + "column": 10 } } }, @@ -23021,12 +23562,38 @@ "updateContext": null }, "value": "this", - "start": 4012, - "end": 4016, + "start": 4067, + "end": 4071, "loc": { "start": { "line": 213, - "column": 12 + "column": 11 + }, + "end": { + "line": 213, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4071, + "end": 4072, + "loc": { + "start": { + "line": 213, + "column": 15 }, "end": { "line": 213, @@ -23036,34 +23603,1126 @@ }, { "type": { - "label": ".", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get_date_sections", + "start": 4072, + "end": 4089, + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4089, + "end": 4090, + "loc": { + "start": { + "line": 213, + "column": 33 + }, + "end": { + "line": 213, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 7, + "start": 4090, + "end": 4091, + "loc": { + "start": { + "line": 213, + "column": 34 + }, + "end": { + "line": 213, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4091, + "end": 4092, + "loc": { + "start": { + "line": 213, + "column": 35 + }, + "end": { + "line": 213, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4092, + "end": 4093, + "loc": { + "start": { + "line": 213, + "column": 36 + }, + "end": { + "line": 213, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4096, + "end": 4097, + "loc": { + "start": { + "line": 214, + "column": 2 + }, + "end": { + "line": 214, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @return {any}\n ", + "start": 4101, + "end": 4134, + "loc": { + "start": { + "line": 216, + "column": 2 + }, + "end": { + "line": 219, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 4137, + "end": 4140, + "loc": { + "start": { + "line": 220, + "column": 2 + }, + "end": { + "line": 220, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lord_of_night", + "start": 4141, + "end": 4154, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4154, + "end": 4155, + "loc": { + "start": { + "line": 220, + "column": 19 + }, + "end": { + "line": 220, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4155, + "end": 4156, + "loc": { + "start": { + "line": 220, + "column": 20 + }, + "end": { + "line": 220, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4157, + "end": 4158, + "loc": { + "start": { + "line": 220, + "column": 22 + }, + "end": { + "line": 220, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4163, + "end": 4169, + "loc": { + "start": { + "line": 221, + "column": 4 + }, + "end": { + "line": 221, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "night", + "start": 4170, + "end": 4175, + "loc": { + "start": { + "line": 221, + "column": 11 + }, + "end": { + "line": 221, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4175, + "end": 4176, + "loc": { + "start": { + "line": 221, + "column": 16 + }, + "end": { + "line": 221, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 4176, + "end": 4179, + "loc": { + "start": { + "line": 221, + "column": 17 + }, + "end": { + "line": 221, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4179, + "end": 4180, + "loc": { + "start": { + "line": 221, + "column": 20 + }, + "end": { + "line": 221, + "column": 21 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4187, + "end": 4188, + "loc": { + "start": { + "line": 222, + "column": 6 + }, + "end": { + "line": 222, + "column": 7 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "G", + "start": 4188, + "end": 4189, + "loc": { + "start": { + "line": 222, + "column": 7 + }, + "end": { + "line": 222, + "column": 8 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4189, + "end": 4191, + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4191, + "end": 4192, + "loc": { + "start": { + "line": 222, + "column": 10 + }, + "end": { + "line": 222, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4192, + "end": 4193, + "loc": { + "start": { + "line": 222, + "column": 11 + }, + "end": { + "line": 222, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4193, + "end": 4197, + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4197, + "end": 4198, + "loc": { + "start": { + "line": 222, + "column": 16 + }, + "end": { + "line": 222, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get_position", + "start": 4198, + "end": 4210, + "loc": { + "start": { + "line": 222, + "column": 17 + }, + "end": { + "line": 222, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4210, + "end": 4211, + "loc": { + "start": { + "line": 222, + "column": 29 + }, + "end": { + "line": 222, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4211, + "end": 4212, + "loc": { + "start": { + "line": 222, + "column": 30 + }, + "end": { + "line": 222, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4213, + "end": 4214, + "loc": { + "start": { + "line": 222, + "column": 32 + }, + "end": { + "line": 222, + "column": 33 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 4215, + "end": 4216, + "loc": { + "start": { + "line": 222, + "column": 34 + }, + "end": { + "line": 222, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4216, + "end": 4217, + "loc": { + "start": { + "line": 222, + "column": 35 + }, + "end": { + "line": 222, + "column": 36 + } + } + }, + { + "type": { + "label": "%", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "%", + "start": 4218, + "end": 4219, + "loc": { + "start": { + "line": 222, + "column": 37 + }, + "end": { + "line": 222, + "column": 38 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 9, + "start": 4220, + "end": 4221, + "loc": { + "start": { + "line": 222, + "column": 39 + }, + "end": { + "line": 222, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4221, + "end": 4222, + "loc": { + "start": { + "line": 222, + "column": 40 + }, + "end": { + "line": 222, + "column": 41 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 4223, + "end": 4224, + "loc": { + "start": { + "line": 222, + "column": 42 + }, + "end": { + "line": 222, + "column": 43 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 4225, + "end": 4226, + "loc": { + "start": { + "line": 222, + "column": 44 + }, + "end": { + "line": 222, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4226, + "end": 4227, + "loc": { + "start": { + "line": 222, + "column": 45 + }, + "end": { + "line": 222, + "column": 46 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 4227, + "end": 4227, + "loc": { + "start": { + "line": 222, + "column": 46 + }, + "end": { + "line": 222, + "column": 46 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4227, + "end": 4228, + "loc": { + "start": { + "line": 222, + "column": 46 + }, + "end": { + "line": 222, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4228, + "end": 4229, + "loc": { + "start": { + "line": 222, + "column": 47 + }, + "end": { + "line": 222, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4234, + "end": 4235, + "loc": { + "start": { + "line": 223, + "column": 4 + }, + "end": { + "line": 223, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4235, + "end": 4236, + "loc": { + "start": { + "line": 223, + "column": 5 + }, + "end": { + "line": 223, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4239, + "end": 4240, + "loc": { + "start": { + "line": 224, + "column": 2 + }, + "end": { + "line": 224, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 4244, + "end": 4350, + "loc": { + "start": { + "line": 226, + "column": 2 + }, + "end": { + "line": 229, + "column": 5 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4016, - "end": 4017, + "value": "is_valid", + "start": 4353, + "end": 4361, "loc": { "start": { - "line": 213, - "column": 16 + "line": 230, + "column": 2 }, "end": { - "line": 213, - "column": 17 + "line": 230, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23072,25 +24731,24 @@ "postfix": false, "binop": null }, - "value": "get_position", - "start": 4017, - "end": 4029, + "start": 4361, + "end": 4362, "loc": { "start": { - "line": 213, - "column": 17 + "line": 230, + "column": 10 }, "end": { - "line": 213, - "column": 29 + "line": 230, + "column": 11 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23098,24 +24756,24 @@ "postfix": false, "binop": null }, - "start": 4029, - "end": 4030, + "start": 4362, + "end": 4363, "loc": { "start": { - "line": 213, - "column": 29 + "line": 230, + "column": 11 }, "end": { - "line": 213, - "column": 30 + "line": 230, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23123,49 +24781,51 @@ "postfix": false, "binop": null }, - "start": 4030, - "end": 4031, + "start": 4364, + "end": 4365, "loc": { "start": { - "line": 213, - "column": 30 + "line": 230, + "column": 13 }, "end": { - "line": 213, - "column": 31 + "line": 230, + "column": 14 } } }, { "type": { - "label": "+/-", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 4032, - "end": 4033, + "value": "return", + "start": 4370, + "end": 4376, "loc": { "start": { - "line": 213, - "column": 32 + "line": 231, + "column": 4 }, "end": { - "line": 213, - "column": 33 + "line": 231, + "column": 10 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23176,23 +24836,23 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 4034, - "end": 4035, + "value": "this", + "start": 4377, + "end": 4381, "loc": { "start": { - "line": 213, - "column": 34 + "line": 231, + "column": 11 }, "end": { - "line": 213, - "column": 35 + "line": 231, + "column": 15 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23200,53 +24860,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4035, - "end": 4036, + "start": 4381, + "end": 4382, "loc": { "start": { - "line": 213, - "column": 35 + "line": 231, + "column": 15 }, "end": { - "line": 213, - "column": 36 + "line": 231, + "column": 16 } } }, { "type": { - "label": "%", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "%", - "start": 4037, - "end": 4038, + "value": "date_pattern", + "start": 4382, + "end": 4394, "loc": { "start": { - "line": 213, - "column": 37 + "line": 231, + "column": 16 }, "end": { - "line": 213, - "column": 38 + "line": 231, + "column": 28 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23255,25 +24915,24 @@ "binop": null, "updateContext": null }, - "value": 9, - "start": 4039, - "end": 4040, + "start": 4394, + "end": 4395, "loc": { "start": { - "line": 213, - "column": 39 + "line": 231, + "column": 28 }, "end": { - "line": 213, - "column": 40 + "line": 231, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23281,49 +24940,49 @@ "postfix": false, "binop": null }, - "start": 4040, - "end": 4041, + "value": "test", + "start": 4395, + "end": 4399, "loc": { "start": { - "line": 213, - "column": 40 + "line": 231, + "column": 29 }, "end": { - "line": 213, - "column": 41 + "line": 231, + "column": 33 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 4042, - "end": 4043, + "start": 4399, + "end": 4400, "loc": { "start": { - "line": 213, - "column": 42 + "line": 231, + "column": 33 }, "end": { - "line": 213, - "column": 43 + "line": 231, + "column": 34 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23334,23 +24993,23 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 4044, - "end": 4045, + "value": "this", + "start": 4400, + "end": 4404, "loc": { "start": { - "line": 213, - "column": 44 + "line": 231, + "column": 34 }, "end": { - "line": 213, - "column": 45 + "line": 231, + "column": 38 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23358,52 +25017,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4045, - "end": 4046, + "start": 4404, + "end": 4405, "loc": { "start": { - "line": 213, - "column": 45 + "line": 231, + "column": 38 }, "end": { - "line": 213, - "column": 46 + "line": 231, + "column": 39 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 4046, - "end": 4046, + "value": "toString", + "start": 4405, + "end": 4413, "loc": { "start": { - "line": 213, - "column": 46 + "line": 231, + "column": 39 }, "end": { - "line": 213, - "column": 46 + "line": 231, + "column": 47 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23412,42 +25071,41 @@ "postfix": false, "binop": null }, - "start": 4046, - "end": 4047, + "start": 4413, + "end": 4414, "loc": { "start": { - "line": 213, - "column": 46 + "line": 231, + "column": 47 }, "end": { - "line": 213, - "column": 47 + "line": 231, + "column": 48 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4047, - "end": 4048, + "start": 4414, + "end": 4415, "loc": { "start": { - "line": 213, - "column": 47 + "line": 231, + "column": 48 }, "end": { - "line": 213, - "column": 48 + "line": 231, + "column": 49 } } }, @@ -23463,16 +25121,16 @@ "postfix": false, "binop": null }, - "start": 4053, - "end": 4054, + "start": 4415, + "end": 4416, "loc": { "start": { - "line": 214, - "column": 4 + "line": 231, + "column": 49 }, "end": { - "line": 214, - "column": 5 + "line": 231, + "column": 50 } } }, @@ -23489,16 +25147,16 @@ "binop": null, "updateContext": null }, - "start": 4054, - "end": 4055, + "start": 4416, + "end": 4417, "loc": { "start": { - "line": 214, - "column": 5 + "line": 231, + "column": 50 }, "end": { - "line": 214, - "column": 6 + "line": 231, + "column": 51 } } }, @@ -23514,31 +25172,31 @@ "postfix": false, "binop": null }, - "start": 4058, - "end": 4059, + "start": 4420, + "end": 4421, "loc": { "start": { - "line": 215, + "line": 232, "column": 2 }, "end": { - "line": 215, + "line": 232, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 4063, - "end": 4169, + "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": 4425, + "end": 4562, "loc": { "start": { - "line": 217, + "line": 234, "column": 2 }, "end": { - "line": 220, + "line": 238, "column": 5 } } @@ -23555,17 +25213,17 @@ "postfix": false, "binop": null }, - "value": "is_valid", - "start": 4172, - "end": 4180, + "value": "is_partial", + "start": 4565, + "end": 4575, "loc": { "start": { - "line": 221, + "line": 239, "column": 2 }, "end": { - "line": 221, - "column": 10 + "line": 239, + "column": 12 } } }, @@ -23581,16 +25239,16 @@ "postfix": false, "binop": null }, - "start": 4180, - "end": 4181, + "start": 4575, + "end": 4576, "loc": { "start": { - "line": 221, - "column": 10 + "line": 239, + "column": 12 }, "end": { - "line": 221, - "column": 11 + "line": 239, + "column": 13 } } }, @@ -23606,16 +25264,16 @@ "postfix": false, "binop": null }, - "start": 4181, - "end": 4182, + "start": 4576, + "end": 4577, "loc": { "start": { - "line": 221, - "column": 11 + "line": 239, + "column": 13 }, "end": { - "line": 221, - "column": 12 + "line": 239, + "column": 14 } } }, @@ -23631,78 +25289,76 @@ "postfix": false, "binop": null }, - "start": 4183, - "end": 4184, + "start": 4578, + "end": 4579, "loc": { "start": { - "line": 221, - "column": 13 + "line": 239, + "column": 15 }, "end": { - "line": 221, - "column": 14 + "line": 239, + "column": 16 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "for", + "keyword": "for", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 4189, - "end": 4195, + "value": "for", + "start": 4584, + "end": 4587, "loc": { "start": { - "line": 222, + "line": 240, "column": 4 }, "end": { - "line": 222, - "column": 10 + "line": 240, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4196, - "end": 4200, + "start": 4588, + "end": 4589, "loc": { "start": { - "line": 222, - "column": 11 + "line": 240, + "column": 8 }, "end": { - "line": 222, - "column": 15 + "line": 240, + "column": 9 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23713,16 +25369,17 @@ "binop": null, "updateContext": null }, - "start": 4200, - "end": 4201, + "value": "let", + "start": 4589, + "end": 4592, "loc": { "start": { - "line": 222, - "column": 15 + "line": 240, + "column": 9 }, "end": { - "line": 222, - "column": 16 + "line": 240, + "column": 12 } } }, @@ -23738,43 +25395,17 @@ "postfix": false, "binop": null }, - "value": "date_pattern", - "start": 4201, - "end": 4213, - "loc": { - "start": { - "line": 222, - "column": 16 - }, - "end": { - "line": 222, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4213, - "end": 4214, + "value": "part", + "start": 4593, + "end": 4597, "loc": { "start": { - "line": 222, - "column": 28 + "line": 240, + "column": 13 }, "end": { - "line": 222, - "column": 29 + "line": 240, + "column": 17 } } }, @@ -23790,42 +25421,17 @@ "postfix": false, "binop": null }, - "value": "test", - "start": 4214, - "end": 4218, - "loc": { - "start": { - "line": 222, - "column": 29 - }, - "end": { - "line": 222, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4218, - "end": 4219, + "value": "of", + "start": 4598, + "end": 4600, "loc": { "start": { - "line": 222, - "column": 33 + "line": 240, + "column": 18 }, "end": { - "line": 222, - "column": 34 + "line": 240, + "column": 20 } } }, @@ -23844,16 +25450,16 @@ "updateContext": null }, "value": "this", - "start": 4219, - "end": 4223, + "start": 4601, + "end": 4605, "loc": { "start": { - "line": 222, - "column": 34 + "line": 240, + "column": 21 }, "end": { - "line": 222, - "column": 38 + "line": 240, + "column": 25 } } }, @@ -23870,16 +25476,16 @@ "binop": null, "updateContext": null }, - "start": 4223, - "end": 4224, + "start": 4605, + "end": 4606, "loc": { "start": { - "line": 222, - "column": 38 + "line": 240, + "column": 25 }, "end": { - "line": 222, - "column": 39 + "line": 240, + "column": 26 } } }, @@ -23895,25 +25501,25 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 4224, - "end": 4232, + "value": "parts", + "start": 4606, + "end": 4611, "loc": { "start": { - "line": 222, - "column": 39 + "line": 240, + "column": 26 }, "end": { - "line": 222, - "column": 47 + "line": 240, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23921,24 +25527,24 @@ "postfix": false, "binop": null }, - "start": 4232, - "end": 4233, + "start": 4611, + "end": 4612, "loc": { "start": { - "line": 222, - "column": 47 + "line": 240, + "column": 31 }, "end": { - "line": 222, - "column": 48 + "line": 240, + "column": 32 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23946,22 +25552,23 @@ "postfix": false, "binop": null }, - "start": 4233, - "end": 4234, + "start": 4613, + "end": 4614, "loc": { "start": { - "line": 222, - "column": 48 + "line": 240, + "column": 33 }, "end": { - "line": 222, - "column": 49 + "line": 240, + "column": 34 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23969,52 +25576,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4234, - "end": 4235, + "value": "if", + "start": 4621, + "end": 4623, "loc": { "start": { - "line": 222, - "column": 49 + "line": 241, + "column": 6 }, "end": { - "line": 222, - "column": 50 + "line": 241, + "column": 8 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4235, - "end": 4236, + "start": 4624, + "end": 4625, "loc": { "start": { - "line": 222, - "column": 50 + "line": 241, + "column": 9 }, "end": { - "line": 222, - "column": 51 + "line": 241, + "column": 10 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24022,65 +25630,51 @@ "postfix": false, "binop": null }, - "start": 4239, - "end": 4240, - "loc": { - "start": { - "line": 223, - "column": 2 - }, - "end": { - "line": 223, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 4244, - "end": 4381, + "value": "part", + "start": 4625, + "end": 4629, "loc": { "start": { - "line": 225, - "column": 2 + "line": 241, + "column": 10 }, "end": { - "line": 229, - "column": 5 + "line": 241, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "is_partial", - "start": 4384, - "end": 4394, + "value": "===", + "start": 4630, + "end": 4633, "loc": { "start": { - "line": 230, - "column": 2 + "line": 241, + "column": 15 }, "end": { - "line": 230, - "column": 12 + "line": 241, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24089,16 +25683,17 @@ "postfix": false, "binop": null }, - "start": 4394, - "end": 4395, + "value": "wildcard", + "start": 4634, + "end": 4642, "loc": { "start": { - "line": 230, - "column": 12 + "line": 241, + "column": 19 }, "end": { - "line": 230, - "column": 13 + "line": 241, + "column": 27 } } }, @@ -24114,16 +25709,16 @@ "postfix": false, "binop": null }, - "start": 4395, - "end": 4396, + "start": 4642, + "end": 4643, "loc": { "start": { - "line": 230, - "column": 13 + "line": 241, + "column": 27 }, "end": { - "line": 230, - "column": 14 + "line": 241, + "column": 28 } } }, @@ -24139,77 +25734,79 @@ "postfix": false, "binop": null }, - "start": 4397, - "end": 4398, + "start": 4644, + "end": 4645, "loc": { "start": { - "line": 230, - "column": 15 + "line": 241, + "column": 29 }, "end": { - "line": 230, - "column": 16 + "line": 241, + "column": 30 } } }, { "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 4403, - "end": 4406, + "value": "return", + "start": 4654, + "end": 4660, "loc": { "start": { - "line": 231, - "column": 4 + "line": 242, + "column": 8 }, "end": { - "line": 231, - "column": 7 + "line": 242, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4407, - "end": 4408, + "value": "true", + "start": 4661, + "end": 4665, "loc": { "start": { - "line": 231, - "column": 8 + "line": 242, + "column": 15 }, "end": { - "line": 231, - "column": 9 + "line": 242, + "column": 19 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -24219,25 +25816,24 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 4408, - "end": 4411, + "start": 4665, + "end": 4666, "loc": { "start": { - "line": 231, - "column": 9 + "line": 242, + "column": 19 }, "end": { - "line": 231, - "column": 12 + "line": 242, + "column": 20 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24245,25 +25841,24 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 4412, - "end": 4416, + "start": 4673, + "end": 4674, "loc": { "start": { - "line": 231, - "column": 13 + "line": 243, + "column": 6 }, "end": { - "line": 231, - "column": 17 + "line": 243, + "column": 7 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24271,26 +25866,25 @@ "postfix": false, "binop": null }, - "value": "of", - "start": 4417, - "end": 4419, + "start": 4679, + "end": 4680, "loc": { "start": { - "line": 231, - "column": 18 + "line": 244, + "column": 4 }, "end": { - "line": 231, - "column": 20 + "line": 244, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24299,25 +25893,26 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4420, - "end": 4424, + "value": "return", + "start": 4685, + "end": 4691, "loc": { "start": { - "line": 231, - "column": 21 + "line": 245, + "column": 4 }, "end": { - "line": 231, - "column": 25 + "line": 245, + "column": 10 } } }, { "type": { - "label": ".", + "label": "false", + "keyword": "false", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24326,48 +25921,49 @@ "binop": null, "updateContext": null }, - "start": 4424, - "end": 4425, + "value": "false", + "start": 4692, + "end": 4697, "loc": { "start": { - "line": 231, - "column": 25 + "line": 245, + "column": 11 }, "end": { - "line": 231, - "column": 26 + "line": 245, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parts", - "start": 4425, - "end": 4430, + "start": 4697, + "end": 4698, "loc": { "start": { - "line": 231, - "column": 26 + "line": 245, + "column": 16 }, "end": { - "line": 231, - "column": 31 + "line": 245, + "column": 17 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24377,23 +25973,39 @@ "postfix": false, "binop": null }, - "start": 4430, - "end": 4431, + "start": 4701, + "end": 4702, "loc": { "start": { - "line": 231, - "column": 31 + "line": 246, + "column": 2 }, "end": { - "line": 231, - "column": 32 + "line": 246, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 4706, + "end": 4796, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 251, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24402,52 +26014,50 @@ "postfix": false, "binop": null }, - "start": 4432, - "end": 4433, + "value": "get_position", + "start": 4799, + "end": 4811, "loc": { "start": { - "line": 231, - "column": 33 + "line": 252, + "column": 2 }, "end": { - "line": 231, - "column": 34 + "line": 252, + "column": 14 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4440, - "end": 4442, + "start": 4811, + "end": 4812, "loc": { "start": { - "line": 232, - "column": 6 + "line": 252, + "column": 14 }, "end": { - "line": 232, - "column": 8 + "line": 252, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24455,23 +26065,23 @@ "postfix": false, "binop": null }, - "start": 4443, - "end": 4444, + "start": 4812, + "end": 4813, "loc": { "start": { - "line": 232, - "column": 9 + "line": 252, + "column": 15 }, "end": { - "line": 232, - "column": 10 + "line": 252, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24480,51 +26090,51 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 4444, - "end": 4448, + "start": 4814, + "end": 4815, "loc": { "start": { - "line": 232, - "column": 10 + "line": 252, + "column": 17 }, "end": { - "line": 232, - "column": 14 + "line": 252, + "column": 18 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 4449, - "end": 4452, + "value": "if", + "start": 4820, + "end": 4822, "loc": { "start": { - "line": 232, - "column": 15 + "line": 253, + "column": 4 }, "end": { - "line": 232, - "column": 18 + "line": 253, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24533,155 +26143,152 @@ "postfix": false, "binop": null }, - "value": "wildcard", - "start": 4453, - "end": 4461, + "start": 4823, + "end": 4824, "loc": { "start": { - "line": 232, - "column": 19 + "line": 253, + "column": 7 }, "end": { - "line": 232, - "column": 27 + "line": 253, + "column": 8 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4461, - "end": 4462, + "value": "this", + "start": 4824, + "end": 4828, "loc": { "start": { - "line": 232, - "column": 27 + "line": 253, + "column": 8 }, "end": { - "line": 232, - "column": 28 + "line": 253, + "column": 12 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4463, - "end": 4464, + "start": 4828, + "end": 4829, "loc": { "start": { - "line": 232, - "column": 29 + "line": 253, + "column": 12 }, "end": { - "line": 232, - "column": 30 + "line": 253, + "column": 13 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 4473, - "end": 4479, + "value": "is_partial", + "start": 4829, + "end": 4839, "loc": { "start": { - "line": 233, - "column": 8 + "line": 253, + "column": 13 }, "end": { - "line": 233, - "column": 14 + "line": 253, + "column": 23 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 4480, - "end": 4484, + "start": 4839, + "end": 4840, "loc": { "start": { - "line": 233, - "column": 15 + "line": 253, + "column": 23 }, "end": { - "line": 233, - "column": 19 + "line": 253, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4484, - "end": 4485, + "start": 4840, + "end": 4841, "loc": { "start": { - "line": 233, - "column": 19 + "line": 253, + "column": 24 }, "end": { - "line": 233, - "column": 20 + "line": 253, + "column": 25 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24691,24 +26298,24 @@ "postfix": false, "binop": null }, - "start": 4492, - "end": 4493, + "start": 4841, + "end": 4842, "loc": { "start": { - "line": 234, - "column": 6 + "line": 253, + "column": 25 }, "end": { - "line": 234, - "column": 7 + "line": 253, + "column": 26 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24716,23 +26323,23 @@ "postfix": false, "binop": null }, - "start": 4498, - "end": 4499, + "start": 4843, + "end": 4844, "loc": { "start": { - "line": 235, - "column": 4 + "line": 253, + "column": 27 }, "end": { - "line": 235, - "column": 5 + "line": 253, + "column": 28 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "throw", + "keyword": "throw", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -24743,24 +26350,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4504, - "end": 4510, + "value": "throw", + "start": 4851, + "end": 4856, "loc": { "start": { - "line": 236, - "column": 4 + "line": 254, + "column": 6 }, "end": { - "line": 236, - "column": 10 + "line": 254, + "column": 11 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24771,17 +26377,17 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 4511, - "end": 4516, + "value": "Can not get position of partial dates", + "start": 4857, + "end": 4896, "loc": { "start": { - "line": 236, - "column": 11 + "line": 254, + "column": 12 }, "end": { - "line": 236, - "column": 16 + "line": 254, + "column": 51 } } }, @@ -24798,16 +26404,16 @@ "binop": null, "updateContext": null }, - "start": 4516, - "end": 4517, + "start": 4896, + "end": 4897, "loc": { "start": { - "line": 236, - "column": 16 + "line": 254, + "column": 51 }, "end": { - "line": 236, - "column": 17 + "line": 254, + "column": 52 } } }, @@ -24823,38 +26429,51 @@ "postfix": false, "binop": null }, - "start": 4520, - "end": 4521, + "start": 4902, + "end": 4903, "loc": { "start": { - "line": 237, - "column": 2 + "line": 255, + "column": 4 }, "end": { - "line": 237, - "column": 3 + "line": 255, + "column": 5 } } }, { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4525, - "end": 4615, + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 4908, + "end": 4914, "loc": { "start": { - "line": 239, - "column": 2 + "line": 256, + "column": 4 }, "end": { - "line": 242, - "column": 5 + "line": 256, + "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24862,52 +26481,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get_position", - "start": 4618, - "end": 4630, + "value": "this", + "start": 4915, + "end": 4919, "loc": { "start": { - "line": 243, - "column": 2 + "line": 256, + "column": 11 }, "end": { - "line": 243, - "column": 14 + "line": 256, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4630, - "end": 4631, + "start": 4919, + "end": 4920, "loc": { "start": { - "line": 243, - "column": 14 + "line": 256, + "column": 15 }, "end": { - "line": 243, - "column": 15 + "line": 256, + "column": 16 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24915,50 +26536,53 @@ "postfix": false, "binop": null }, - "start": 4631, - "end": 4632, + "value": "k_in", + "start": 4920, + "end": 4924, "loc": { "start": { - "line": 243, - "column": 15 + "line": 256, + "column": 16 }, "end": { - "line": 243, - "column": 16 + "line": 256, + "column": 20 } } }, { "type": { - "label": "{", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 4633, - "end": 4634, + "value": "+", + "start": 4925, + "end": 4926, "loc": { - "start": { - "line": 243, - "column": 17 + "start": { + "line": 256, + "column": 21 }, "end": { - "line": 243, - "column": 18 + "line": 256, + "column": 22 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24967,49 +26591,49 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 4639, - "end": 4641, + "value": "this", + "start": 4933, + "end": 4937, "loc": { "start": { - "line": 244, - "column": 4 + "line": 257, + "column": 6 }, "end": { - "line": 244, - "column": 6 + "line": 257, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4642, - "end": 4643, + "start": 4937, + "end": 4938, "loc": { "start": { - "line": 244, - "column": 7 + "line": 257, + "column": 10 }, "end": { - "line": 244, - "column": 8 + "line": 257, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25017,52 +26641,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4643, - "end": 4647, + "value": "winal", + "start": 4938, + "end": 4943, "loc": { "start": { - "line": 244, - "column": 8 + "line": 257, + "column": 11 }, "end": { - "line": 244, - "column": 12 + "line": 257, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "*", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 4647, - "end": 4648, + "value": "*", + "start": 4944, + "end": 4945, "loc": { "start": { - "line": 244, - "column": 12 + "line": 257, + "column": 17 }, "end": { - "line": 244, - "column": 13 + "line": 257, + "column": 18 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25070,75 +26694,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "is_partial", - "start": 4648, - "end": 4658, + "value": 20, + "start": 4946, + "end": 4948, "loc": { "start": { - "line": 244, - "column": 13 + "line": 257, + "column": 19 }, "end": { - "line": 244, - "column": 23 + "line": 257, + "column": 21 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 4658, - "end": 4659, + "value": "+", + "start": 4949, + "end": 4950, "loc": { "start": { - "line": 244, - "column": 23 + "line": 257, + "column": 22 }, "end": { - "line": 244, - "column": 24 + "line": 257, + "column": 23 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4659, - "end": 4660, + "value": "this", + "start": 4957, + "end": 4961, "loc": { "start": { - "line": 244, - "column": 24 + "line": 258, + "column": 6 }, "end": { - "line": 244, - "column": 25 + "line": 258, + "column": 10 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25146,25 +26776,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4660, - "end": 4661, + "start": 4961, + "end": 4962, "loc": { "start": { - "line": 244, - "column": 25 + "line": 258, + "column": 10 }, "end": { - "line": 244, - "column": 26 + "line": 258, + "column": 11 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25173,23 +26804,23 @@ "postfix": false, "binop": null }, - "start": 4662, - "end": 4663, + "value": "tun", + "start": 4962, + "end": 4965, "loc": { "start": { - "line": 244, - "column": 27 + "line": 258, + "column": 11 }, "end": { - "line": 244, - "column": 28 + "line": 258, + "column": 14 } } }, { "type": { - "label": "throw", - "keyword": "throw", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25197,26 +26828,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "throw", - "start": 4670, - "end": 4675, + "value": "*", + "start": 4966, + "end": 4967, "loc": { "start": { - "line": 245, - "column": 6 + "line": 258, + "column": 15 }, "end": { - "line": 245, - "column": 11 + "line": 258, + "column": 16 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25227,76 +26858,79 @@ "binop": null, "updateContext": null }, - "value": "Can not get position of partial dates", - "start": 4676, - "end": 4715, + "value": 360, + "start": 4968, + "end": 4971, "loc": { "start": { - "line": 245, - "column": 12 + "line": 258, + "column": 17 }, "end": { - "line": 245, - "column": 51 + "line": 258, + "column": 20 } } }, { "type": { - "label": ";", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 4715, - "end": 4716, + "value": "+", + "start": 4972, + "end": 4973, "loc": { "start": { - "line": 245, - "column": 51 + "line": 258, + "column": 21 }, "end": { - "line": 245, - "column": 52 + "line": 258, + "column": 22 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4721, - "end": 4722, + "value": "this", + "start": 4980, + "end": 4984, "loc": { "start": { - "line": 246, - "column": 4 + "line": 259, + "column": 6 }, "end": { - "line": 246, - "column": 5 + "line": 259, + "column": 10 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -25306,24 +26940,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4727, - "end": 4733, + "start": 4984, + "end": 4985, "loc": { "start": { - "line": 247, - "column": 4 + "line": 259, + "column": 10 }, "end": { - "line": 247, - "column": 10 + "line": 259, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25331,52 +26963,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4734, - "end": 4738, + "value": "k_atun", + "start": 4985, + "end": 4991, "loc": { "start": { - "line": 247, + "line": 259, "column": 11 }, "end": { - "line": 247, - "column": 15 + "line": 259, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "*", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 4738, - "end": 4739, + "value": "*", + "start": 4992, + "end": 4993, "loc": { "start": { - "line": 247, - "column": 15 + "line": 259, + "column": 18 }, "end": { - "line": 247, - "column": 16 + "line": 259, + "column": 19 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25384,19 +27016,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "k_in", - "start": 4739, - "end": 4743, + "value": 7200, + "start": 4994, + "end": 4998, "loc": { "start": { - "line": 247, - "column": 16 + "line": 259, + "column": 20 }, "end": { - "line": 247, - "column": 20 + "line": 259, + "column": 24 } } }, @@ -25414,16 +27047,16 @@ "updateContext": null }, "value": "+", - "start": 4744, - "end": 4745, + "start": 4999, + "end": 5000, "loc": { "start": { - "line": 247, - "column": 21 + "line": 259, + "column": 25 }, "end": { - "line": 247, - "column": 22 + "line": 259, + "column": 26 } } }, @@ -25442,15 +27075,15 @@ "updateContext": null }, "value": "this", - "start": 4752, - "end": 4756, + "start": 5007, + "end": 5011, "loc": { "start": { - "line": 248, + "line": 260, "column": 6 }, "end": { - "line": 248, + "line": 260, "column": 10 } } @@ -25468,15 +27101,15 @@ "binop": null, "updateContext": null }, - "start": 4756, - "end": 4757, + "start": 5011, + "end": 5012, "loc": { "start": { - "line": 248, + "line": 260, "column": 10 }, "end": { - "line": 248, + "line": 260, "column": 11 } } @@ -25493,17 +27126,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 4757, - "end": 4762, + "value": "bak_tun", + "start": 5012, + "end": 5019, "loc": { "start": { - "line": 248, + "line": 260, "column": 11 }, - "end": { - "line": 248, - "column": 16 + "end": { + "line": 260, + "column": 18 } } }, @@ -25521,16 +27154,16 @@ "updateContext": null }, "value": "*", - "start": 4763, - "end": 4764, + "start": 5020, + "end": 5021, "loc": { "start": { - "line": 248, - "column": 17 + "line": 260, + "column": 19 }, "end": { - "line": 248, - "column": 18 + "line": 260, + "column": 20 } } }, @@ -25547,17 +27180,17 @@ "binop": null, "updateContext": null }, - "value": 20, - "start": 4765, - "end": 4767, + "value": 144000, + "start": 5022, + "end": 5028, "loc": { "start": { - "line": 248, - "column": 19 + "line": 260, + "column": 21 }, "end": { - "line": 248, - "column": 21 + "line": 260, + "column": 27 } } }, @@ -25575,16 +27208,16 @@ "updateContext": null }, "value": "+", - "start": 4768, - "end": 4769, + "start": 5029, + "end": 5030, "loc": { "start": { - "line": 248, - "column": 22 + "line": 260, + "column": 28 }, "end": { - "line": 248, - "column": 23 + "line": 260, + "column": 29 } } }, @@ -25603,15 +27236,15 @@ "updateContext": null }, "value": "this", - "start": 4776, - "end": 4780, + "start": 5037, + "end": 5041, "loc": { "start": { - "line": 249, + "line": 261, "column": 6 }, "end": { - "line": 249, + "line": 261, "column": 10 } } @@ -25629,15 +27262,15 @@ "binop": null, "updateContext": null }, - "start": 4780, - "end": 4781, + "start": 5041, + "end": 5042, "loc": { "start": { - "line": 249, + "line": 261, "column": 10 }, "end": { - "line": 249, + "line": 261, "column": 11 } } @@ -25654,17 +27287,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 4781, - "end": 4784, + "value": "piktun", + "start": 5042, + "end": 5048, "loc": { "start": { - "line": 249, + "line": 261, "column": 11 }, "end": { - "line": 249, - "column": 14 + "line": 261, + "column": 17 } } }, @@ -25682,16 +27315,16 @@ "updateContext": null }, "value": "*", - "start": 4785, - "end": 4786, + "start": 5049, + "end": 5050, "loc": { "start": { - "line": 249, - "column": 15 + "line": 261, + "column": 18 }, "end": { - "line": 249, - "column": 16 + "line": 261, + "column": 19 } } }, @@ -25708,17 +27341,17 @@ "binop": null, "updateContext": null }, - "value": 360, - "start": 4787, - "end": 4790, + "value": 2880000, + "start": 5051, + "end": 5058, "loc": { "start": { - "line": 249, - "column": 17 + "line": 261, + "column": 20 }, "end": { - "line": 249, - "column": 20 + "line": 261, + "column": 27 } } }, @@ -25736,16 +27369,16 @@ "updateContext": null }, "value": "+", - "start": 4791, - "end": 4792, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 249, - "column": 21 + "line": 261, + "column": 28 }, "end": { - "line": 249, - "column": 22 + "line": 261, + "column": 29 } } }, @@ -25764,15 +27397,15 @@ "updateContext": null }, "value": "this", - "start": 4799, - "end": 4803, + "start": 5067, + "end": 5071, "loc": { "start": { - "line": 250, + "line": 262, "column": 6 }, "end": { - "line": 250, + "line": 262, "column": 10 } } @@ -25790,15 +27423,15 @@ "binop": null, "updateContext": null }, - "start": 4803, - "end": 4804, + "start": 5071, + "end": 5072, "loc": { "start": { - "line": 250, + "line": 262, "column": 10 }, "end": { - "line": 250, + "line": 262, "column": 11 } } @@ -25815,17 +27448,17 @@ "postfix": false, "binop": null }, - "value": "k_atun", - "start": 4804, - "end": 4810, + "value": "kalabtun", + "start": 5072, + "end": 5080, "loc": { "start": { - "line": 250, + "line": 262, "column": 11 }, "end": { - "line": 250, - "column": 17 + "line": 262, + "column": 19 } } }, @@ -25843,16 +27476,16 @@ "updateContext": null }, "value": "*", - "start": 4811, - "end": 4812, + "start": 5081, + "end": 5082, "loc": { "start": { - "line": 250, - "column": 18 + "line": 262, + "column": 20 }, "end": { - "line": 250, - "column": 19 + "line": 262, + "column": 21 } } }, @@ -25869,17 +27502,17 @@ "binop": null, "updateContext": null }, - "value": 7200, - "start": 4813, - "end": 4817, + "value": 57600000, + "start": 5083, + "end": 5091, "loc": { "start": { - "line": 250, - "column": 20 + "line": 262, + "column": 22 }, "end": { - "line": 250, - "column": 24 + "line": 262, + "column": 30 } } }, @@ -25897,16 +27530,16 @@ "updateContext": null }, "value": "+", - "start": 4818, - "end": 4819, + "start": 5092, + "end": 5093, "loc": { "start": { - "line": 250, - "column": 25 + "line": 262, + "column": 31 }, "end": { - "line": 250, - "column": 26 + "line": 262, + "column": 32 } } }, @@ -25925,15 +27558,15 @@ "updateContext": null }, "value": "this", - "start": 4826, - "end": 4830, + "start": 5100, + "end": 5104, "loc": { "start": { - "line": 251, + "line": 263, "column": 6 }, "end": { - "line": 251, + "line": 263, "column": 10 } } @@ -25951,15 +27584,15 @@ "binop": null, "updateContext": null }, - "start": 4830, - "end": 4831, + "start": 5104, + "end": 5105, "loc": { "start": { - "line": 251, + "line": 263, "column": 10 }, "end": { - "line": 251, + "line": 263, "column": 11 } } @@ -25976,17 +27609,17 @@ "postfix": false, "binop": null }, - "value": "bak_tun", - "start": 4831, - "end": 4838, + "value": "kinchiltun", + "start": 5105, + "end": 5115, "loc": { "start": { - "line": 251, + "line": 263, "column": 11 }, "end": { - "line": 251, - "column": 18 + "line": 263, + "column": 21 } } }, @@ -26004,16 +27637,16 @@ "updateContext": null }, "value": "*", - "start": 4839, - "end": 4840, + "start": 5116, + "end": 5117, "loc": { "start": { - "line": 251, - "column": 19 + "line": 263, + "column": 22 }, "end": { - "line": 251, - "column": 20 + "line": 263, + "column": 23 } } }, @@ -26030,98 +27663,84 @@ "binop": null, "updateContext": null }, - "value": 144000, - "start": 4841, - "end": 4847, + "value": 1152000000, + "start": 5118, + "end": 5128, "loc": { "start": { - "line": 251, - "column": 21 + "line": 263, + "column": 24 }, "end": { - "line": 251, - "column": 27 + "line": 263, + "column": 34 } } }, { "type": { - "label": "+/-", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 4848, - "end": 4849, + "start": 5128, + "end": 5129, "loc": { "start": { - "line": 251, - "column": 28 + "line": 263, + "column": 34 }, "end": { - "line": 251, - "column": 29 + "line": 263, + "column": 35 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4856, - "end": 4860, + "start": 5132, + "end": 5133, "loc": { "start": { - "line": 252, - "column": 6 + "line": 264, + "column": 2 }, "end": { - "line": 252, - "column": 10 + "line": 264, + "column": 3 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4860, - "end": 4861, + "type": "CommentBlock", + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 5137, + "end": 5180, "loc": { "start": { - "line": 252, - "column": 10 + "line": 266, + "column": 2 }, "end": { - "line": 252, - "column": 11 + "line": 269, + "column": 5 } } }, @@ -26137,133 +27756,100 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 4861, - "end": 4867, + "value": "build_calendar_round", + "start": 5183, + "end": 5203, "loc": { "start": { - "line": 252, - "column": 11 + "line": 270, + "column": 2 }, "end": { - "line": 252, - "column": 17 + "line": 270, + "column": 22 } } }, { "type": { - "label": "*", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 4868, - "end": 4869, + "start": 5203, + "end": 5204, "loc": { "start": { - "line": 252, - "column": 18 + "line": 270, + "column": 22 }, "end": { - "line": 252, - "column": 19 + "line": 270, + "column": 23 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2880000, - "start": 4870, - "end": 4877, + "start": 5204, + "end": 5205, "loc": { "start": { - "line": 252, - "column": 20 + "line": 270, + "column": 23 }, "end": { - "line": 252, - "column": 27 + "line": 270, + "column": 24 } } }, { "type": { - "label": "+/-", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 4878, - "end": 4879, - "loc": { - "start": { - "line": 252, - "column": 28 - }, - "end": { - "line": 252, - "column": 29 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4886, - "end": 4890, + "start": 5206, + "end": 5207, "loc": { "start": { - "line": 253, - "column": 6 + "line": 270, + "column": 25 }, "end": { - "line": 253, - "column": 10 + "line": 270, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26273,16 +27859,17 @@ "binop": null, "updateContext": null }, - "start": 4890, - "end": 4891, + "value": "return", + "start": 5212, + "end": 5218, "loc": { "start": { - "line": 253, - "column": 10 + "line": 271, + "column": 4 }, "end": { - "line": 253, - "column": 11 + "line": 271, + "column": 10 } } }, @@ -26298,50 +27885,49 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 4891, - "end": 4899, + "value": "origin", + "start": 5219, + "end": 5225, "loc": { "start": { - "line": 253, + "line": 271, "column": 11 }, "end": { - "line": 253, - "column": 19 + "line": 271, + "column": 17 } } }, { "type": { - "label": "*", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "*", - "start": 4900, - "end": 4901, + "start": 5225, + "end": 5226, "loc": { "start": { - "line": 253, - "column": 20 + "line": 271, + "column": 17 }, "end": { - "line": 253, - "column": 21 + "line": 271, + "column": 18 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26349,47 +27935,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 57600000, - "start": 4902, - "end": 4910, + "value": "shift", + "start": 5226, + "end": 5231, "loc": { "start": { - "line": 253, - "column": 22 + "line": 271, + "column": 18 }, "end": { - "line": 253, - "column": 30 + "line": 271, + "column": 23 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 4911, - "end": 4912, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 253, - "column": 31 + "line": 271, + "column": 23 }, "end": { - "line": 253, - "column": 32 + "line": 271, + "column": 24 } } }, @@ -26408,15 +27991,15 @@ "updateContext": null }, "value": "this", - "start": 4919, - "end": 4923, + "start": 5239, + "end": 5243, "loc": { "start": { - "line": 254, + "line": 272, "column": 6 }, "end": { - "line": 254, + "line": 272, "column": 10 } } @@ -26434,15 +28017,15 @@ "binop": null, "updateContext": null }, - "start": 4923, - "end": 4924, + "start": 5243, + "end": 5244, "loc": { "start": { - "line": 254, + "line": 272, "column": 10 }, "end": { - "line": 254, + "line": 272, "column": 11 } } @@ -26459,52 +28042,75 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 4924, - "end": 4934, + "value": "get_position", + "start": 5244, + "end": 5256, "loc": { "start": { - "line": 254, + "line": 272, "column": 11 }, "end": { - "line": 254, - "column": 21 + "line": 272, + "column": 23 } } }, { "type": { - "label": "*", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 4935, - "end": 4936, + "start": 5256, + "end": 5257, "loc": { "start": { - "line": 254, - "column": 22 + "line": 272, + "column": 23 }, "end": { - "line": 254, - "column": 23 + "line": 272, + "column": 24 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5257, + "end": 5258, + "loc": { + "start": { + "line": 272, + "column": 24 + }, + "end": { + "line": 272, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26513,17 +28119,41 @@ "binop": null, "updateContext": null }, - "value": 1152000000, - "start": 4937, - "end": 4947, + "start": 5258, + "end": 5259, "loc": { "start": { - "line": 254, - "column": 24 + "line": 272, + "column": 25 }, "end": { - "line": 254, - "column": 34 + "line": 272, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5264, + "end": 5265, + "loc": { + "start": { + "line": 273, + "column": 4 + }, + "end": { + "line": 273, + "column": 5 } } }, @@ -26540,16 +28170,16 @@ "binop": null, "updateContext": null }, - "start": 4947, - "end": 4948, + "start": 5265, + "end": 5266, "loc": { "start": { - "line": 254, - "column": 34 + "line": 273, + "column": 5 }, "end": { - "line": 254, - "column": 35 + "line": 273, + "column": 6 } } }, @@ -26565,31 +28195,31 @@ "postfix": false, "binop": null }, - "start": 4951, - "end": 4952, + "start": 5269, + "end": 5270, "loc": { "start": { - "line": 255, + "line": 274, "column": 2 }, "end": { - "line": 255, + "line": 274, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4956, - "end": 4999, + "value": "*\n *\n * @return {FullDate}\n ", + "start": 5274, + "end": 5312, "loc": { "start": { - "line": 257, + "line": 276, "column": 2 }, "end": { - "line": 260, + "line": 279, "column": 5 } } @@ -26606,17 +28236,17 @@ "postfix": false, "binop": null }, - "value": "build_calendar_round", - "start": 5002, - "end": 5022, + "value": "build_full_date", + "start": 5315, + "end": 5330, "loc": { "start": { - "line": 261, + "line": 280, "column": 2 }, "end": { - "line": 261, - "column": 22 + "line": 280, + "column": 17 } } }, @@ -26632,16 +28262,16 @@ "postfix": false, "binop": null }, - "start": 5022, - "end": 5023, + "start": 5330, + "end": 5331, "loc": { "start": { - "line": 261, - "column": 22 + "line": 280, + "column": 17 }, "end": { - "line": 261, - "column": 23 + "line": 280, + "column": 18 } } }, @@ -26657,16 +28287,16 @@ "postfix": false, "binop": null }, - "start": 5023, - "end": 5024, + "start": 5331, + "end": 5332, "loc": { "start": { - "line": 261, - "column": 23 + "line": 280, + "column": 18 }, "end": { - "line": 261, - "column": 24 + "line": 280, + "column": 19 } } }, @@ -26682,78 +28312,53 @@ "postfix": false, "binop": null }, - "start": 5025, - "end": 5026, - "loc": { - "start": { - "line": 261, - "column": 25 - }, - "end": { - "line": 261, - "column": 26 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 5031, - "end": 5037, + "start": 5333, + "end": 5334, "loc": { "start": { - "line": 262, - "column": 4 + "line": 280, + "column": 20 }, "end": { - "line": 262, - "column": 10 + "line": 280, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "origin", - "start": 5038, - "end": 5044, + "value": "return", + "start": 5339, + "end": 5345, "loc": { "start": { - "line": 262, - "column": 11 + "line": 281, + "column": 4 }, "end": { - "line": 262, - "column": 17 + "line": 281, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26762,16 +28367,17 @@ "binop": null, "updateContext": null }, - "start": 5044, - "end": 5045, + "value": "new", + "start": 5346, + "end": 5349, "loc": { "start": { - "line": 262, - "column": 17 + "line": 281, + "column": 11 }, "end": { - "line": 262, - "column": 18 + "line": 281, + "column": 14 } } }, @@ -26787,16 +28393,16 @@ "postfix": false, "binop": null }, - "value": "shift", - "start": 5045, - "end": 5050, + "value": "FullDate", + "start": 5350, + "end": 5358, "loc": { "start": { - "line": 262, - "column": 18 + "line": 281, + "column": 15 }, "end": { - "line": 262, + "line": 281, "column": 23 } } @@ -26813,15 +28419,15 @@ "postfix": false, "binop": null }, - "start": 5050, - "end": 5051, + "start": 5358, + "end": 5359, "loc": { "start": { - "line": 262, + "line": 281, "column": 23 }, "end": { - "line": 262, + "line": 281, "column": 24 } } @@ -26841,15 +28447,15 @@ "updateContext": null }, "value": "this", - "start": 5058, - "end": 5062, + "start": 5366, + "end": 5370, "loc": { "start": { - "line": 263, + "line": 282, "column": 6 }, "end": { - "line": 263, + "line": 282, "column": 10 } } @@ -26867,15 +28473,15 @@ "binop": null, "updateContext": null }, - "start": 5062, - "end": 5063, + "start": 5370, + "end": 5371, "loc": { "start": { - "line": 263, + "line": 282, "column": 10 }, "end": { - "line": 263, + "line": 282, "column": 11 } } @@ -26892,17 +28498,17 @@ "postfix": false, "binop": null }, - "value": "get_position", - "start": 5063, - "end": 5075, + "value": "build_calendar_round", + "start": 5371, + "end": 5391, "loc": { "start": { - "line": 263, + "line": 282, "column": 11 }, "end": { - "line": 263, - "column": 23 + "line": 282, + "column": 31 } } }, @@ -26918,16 +28524,16 @@ "postfix": false, "binop": null }, - "start": 5075, - "end": 5076, + "start": 5391, + "end": 5392, "loc": { "start": { - "line": 263, - "column": 23 + "line": 282, + "column": 31 }, "end": { - "line": 263, - "column": 24 + "line": 282, + "column": 32 } } }, @@ -26943,16 +28549,16 @@ "postfix": false, "binop": null }, - "start": 5076, - "end": 5077, + "start": 5392, + "end": 5393, "loc": { "start": { - "line": 263, - "column": 24 + "line": 282, + "column": 32 }, "end": { - "line": 263, - "column": 25 + "line": 282, + "column": 33 } } }, @@ -26969,48 +28575,51 @@ "binop": null, "updateContext": null }, - "start": 5077, - "end": 5078, + "start": 5393, + "end": 5394, "loc": { "start": { - "line": 263, - "column": 25 + "line": 282, + "column": 33 }, "end": { - "line": 263, - "column": 26 + "line": 282, + "column": 34 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5083, - "end": 5084, + "value": "this", + "start": 5401, + "end": 5405, "loc": { "start": { - "line": 264, - "column": 4 + "line": 283, + "column": 6 }, "end": { - "line": 264, - "column": 5 + "line": 283, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27020,24 +28629,24 @@ "binop": null, "updateContext": null }, - "start": 5084, - "end": 5085, + "start": 5405, + "end": 5406, "loc": { "start": { - "line": 264, - "column": 5 + "line": 283, + "column": 10 }, "end": { - "line": 264, - "column": 6 + "line": 283, + "column": 11 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27045,40 +28654,50 @@ "postfix": false, "binop": null }, - "start": 5088, - "end": 5089, + "value": "clone", + "start": 5406, + "end": 5411, "loc": { "start": { - "line": 265, - "column": 2 + "line": 283, + "column": 11 }, "end": { - "line": 265, - "column": 3 + "line": 283, + "column": 16 } } }, { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 5093, - "end": 5131, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5411, + "end": 5412, "loc": { "start": { - "line": 267, - "column": 2 + "line": 283, + "column": 16 }, "end": { - "line": 270, - "column": 5 + "line": 283, + "column": 17 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27086,42 +28705,42 @@ "postfix": false, "binop": null }, - "value": "build_full_date", - "start": 5134, - "end": 5149, + "start": 5412, + "end": 5413, "loc": { "start": { - "line": 271, - "column": 2 + "line": 283, + "column": 17 }, "end": { - "line": 271, - "column": 17 + "line": 283, + "column": 18 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5149, - "end": 5150, + "start": 5413, + "end": 5414, "loc": { "start": { - "line": 271, - "column": 17 + "line": 283, + "column": 18 }, "end": { - "line": 271, - "column": 18 + "line": 283, + "column": 19 } } }, @@ -27137,104 +28756,116 @@ "postfix": false, "binop": null }, - "start": 5150, - "end": 5151, + "start": 5419, + "end": 5420, "loc": { "start": { - "line": 271, - "column": 18 + "line": 284, + "column": 4 }, "end": { - "line": 271, - "column": 19 + "line": 284, + "column": 5 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5152, - "end": 5153, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 271, - "column": 20 + "line": 284, + "column": 5 }, "end": { - "line": 271, - "column": 21 + "line": 284, + "column": 6 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 5158, - "end": 5164, + "start": 5424, + "end": 5425, "loc": { "start": { - "line": 272, - "column": 4 + "line": 285, + "column": 2 }, "end": { - "line": 272, - "column": 10 + "line": 285, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", + "start": 5429, + "end": 5533, + "loc": { + "start": { + "line": 287, + "column": 2 + }, + "end": { + "line": 290, + "column": 5 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 5165, - "end": 5168, + "value": "toString", + "start": 5536, + "end": 5544, "loc": { "start": { - "line": 272, - "column": 11 + "line": 291, + "column": 2 }, "end": { - "line": 272, - "column": 14 + "line": 291, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27243,25 +28874,24 @@ "postfix": false, "binop": null }, - "value": "FullDate", - "start": 5169, - "end": 5177, + "start": 5544, + "end": 5545, "loc": { "start": { - "line": 272, - "column": 15 + "line": 291, + "column": 10 }, "end": { - "line": 272, - "column": 23 + "line": 291, + "column": 11 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27269,50 +28899,48 @@ "postfix": false, "binop": null }, - "start": 5177, - "end": 5178, + "start": 5545, + "end": 5546, "loc": { "start": { - "line": 272, - "column": 23 + "line": 291, + "column": 11 }, "end": { - "line": 272, - "column": 24 + "line": 291, + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5185, - "end": 5189, + "start": 5547, + "end": 5548, "loc": { "start": { - "line": 273, - "column": 6 + "line": 291, + "column": 13 }, "end": { - "line": 273, - "column": 10 + "line": 291, + "column": 14 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27323,16 +28951,17 @@ "binop": null, "updateContext": null }, - "start": 5189, - "end": 5190, + "value": "let", + "start": 5553, + "end": 5556, "loc": { "start": { - "line": 273, - "column": 10 + "line": 292, + "column": 4 }, "end": { - "line": 273, - "column": 11 + "line": 292, + "column": 7 } } }, @@ -27348,74 +28977,77 @@ "postfix": false, "binop": null }, - "value": "build_calendar_round", - "start": 5190, - "end": 5210, + "value": "significant_digits", + "start": 5557, + "end": 5575, "loc": { "start": { - "line": 273, - "column": 11 + "line": 292, + "column": 8 }, "end": { - "line": 273, - "column": 31 + "line": 292, + "column": 26 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5210, - "end": 5211, + "value": "=", + "start": 5576, + "end": 5577, "loc": { "start": { - "line": 273, - "column": 31 + "line": 292, + "column": 27 }, "end": { - "line": 273, - "column": 32 + "line": 292, + "column": 28 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5211, - "end": 5212, + "start": 5578, + "end": 5579, "loc": { "start": { - "line": 273, - "column": 32 + "line": 292, + "column": 29 }, "end": { - "line": 273, - "column": 33 + "line": 292, + "column": 30 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27425,25 +29057,24 @@ "binop": null, "updateContext": null }, - "start": 5212, - "end": 5213, + "start": 5579, + "end": 5580, "loc": { "start": { - "line": 273, - "column": 33 + "line": 292, + "column": 30 }, "end": { - "line": 273, - "column": 34 + "line": 292, + "column": 31 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27452,50 +29083,51 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5220, - "end": 5224, + "start": 5580, + "end": 5581, "loc": { "start": { - "line": 274, - "column": 6 + "line": 292, + "column": 31 }, "end": { - "line": 274, - "column": 10 + "line": 292, + "column": 32 } } }, { "type": { - "label": ".", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5224, - "end": 5225, + "value": "for", + "start": 5586, + "end": 5589, "loc": { "start": { - "line": 274, - "column": 10 + "line": 293, + "column": 4 }, "end": { - "line": 274, - "column": 11 + "line": 293, + "column": 7 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27504,50 +29136,52 @@ "postfix": false, "binop": null }, - "value": "clone", - "start": 5225, - "end": 5230, + "start": 5590, + "end": 5591, "loc": { "start": { - "line": 274, - "column": 11 + "line": 293, + "column": 8 }, "end": { - "line": 274, - "column": 16 + "line": 293, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5230, - "end": 5231, + "value": "let", + "start": 5591, + "end": 5594, "loc": { "start": { - "line": 274, - "column": 16 + "line": 293, + "column": 9 }, "end": { - "line": 274, - "column": 17 + "line": 293, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27555,74 +29189,79 @@ "postfix": false, "binop": null }, - "start": 5231, - "end": 5232, + "value": "i", + "start": 5595, + "end": 5596, "loc": { "start": { - "line": 274, - "column": 17 + "line": 293, + "column": 13 }, "end": { - "line": 274, - "column": 18 + "line": 293, + "column": 14 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5232, - "end": 5233, + "value": "=", + "start": 5597, + "end": 5598, "loc": { "start": { - "line": 274, - "column": 18 + "line": 293, + "column": 15 }, "end": { - "line": 274, - "column": 19 + "line": 293, + "column": 16 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5238, - "end": 5239, + "value": "this", + "start": 5599, + "end": 5603, "loc": { "start": { - "line": 275, - "column": 4 + "line": 293, + "column": 17 }, "end": { - "line": 275, - "column": 5 + "line": 293, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27632,24 +29271,24 @@ "binop": null, "updateContext": null }, - "start": 5239, - "end": 5240, + "start": 5603, + "end": 5604, "loc": { "start": { - "line": 275, - "column": 5 + "line": 293, + "column": 21 }, "end": { - "line": 275, - "column": 6 + "line": 293, + "column": 22 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27657,32 +29296,43 @@ "postfix": false, "binop": null }, - "start": 5243, - "end": 5244, + "value": "parts", + "start": 5604, + "end": 5609, "loc": { "start": { - "line": 276, - "column": 2 + "line": 293, + "column": 22 }, "end": { - "line": 276, - "column": 3 + "line": 293, + "column": 27 } } }, { - "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5248, - "end": 5352, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5609, + "end": 5610, "loc": { "start": { - "line": 278, - "column": 2 + "line": 293, + "column": 27 }, "end": { - "line": 281, - "column": 5 + "line": 293, + "column": 28 } } }, @@ -27698,181 +29348,185 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 5355, - "end": 5363, + "value": "length", + "start": 5610, + "end": 5616, "loc": { "start": { - "line": 282, - "column": 2 + "line": 293, + "column": 28 }, "end": { - "line": 282, - "column": 10 + "line": 293, + "column": 34 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 5363, - "end": 5364, + "value": "-", + "start": 5617, + "end": 5618, "loc": { "start": { - "line": 282, - "column": 10 + "line": 293, + "column": 35 }, "end": { - "line": 282, - "column": 11 + "line": 293, + "column": 36 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5364, - "end": 5365, + "value": 1, + "start": 5619, + "end": 5620, "loc": { "start": { - "line": 282, - "column": 11 + "line": 293, + "column": 37 }, "end": { - "line": 282, - "column": 12 + "line": 293, + "column": 38 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5366, - "end": 5367, + "start": 5620, + "end": 5621, "loc": { "start": { - "line": 282, - "column": 13 + "line": 293, + "column": 38 }, "end": { - "line": 282, - "column": 14 + "line": 293, + "column": 39 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 5372, - "end": 5375, + "value": "i", + "start": 5622, + "end": 5623, "loc": { "start": { - "line": 283, - "column": 4 + "line": 293, + "column": 40 }, "end": { - "line": 283, - "column": 7 + "line": 293, + "column": 41 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "value": "significant_digits", - "start": 5376, - "end": 5394, + "value": ">=", + "start": 5624, + "end": 5626, "loc": { "start": { - "line": 283, - "column": 8 + "line": 293, + "column": 42 }, "end": { - "line": 283, - "column": 26 + "line": 293, + "column": 44 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5395, - "end": 5396, + "value": 0, + "start": 5627, + "end": 5628, "loc": { "start": { - "line": 283, - "column": 27 + "line": 293, + "column": 45 }, "end": { - "line": 283, - "column": 28 + "line": 293, + "column": 46 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27881,102 +29535,99 @@ "binop": null, "updateContext": null }, - "start": 5397, - "end": 5398, + "start": 5628, + "end": 5629, "loc": { "start": { - "line": 283, - "column": 29 + "line": 293, + "column": 46 }, "end": { - "line": 283, - "column": 30 + "line": 293, + "column": 47 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5398, - "end": 5399, + "value": "i", + "start": 5630, + "end": 5631, "loc": { "start": { - "line": 283, - "column": 30 + "line": 293, + "column": 48 }, "end": { - "line": 283, - "column": 31 + "line": 293, + "column": 49 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "prefix": true, + "postfix": true, + "binop": null }, - "start": 5399, - "end": 5400, + "value": "--", + "start": 5631, + "end": 5633, "loc": { "start": { - "line": 283, - "column": 31 + "line": 293, + "column": 49 }, "end": { - "line": 283, - "column": 32 + "line": 293, + "column": 51 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "for", - "start": 5405, - "end": 5408, + "start": 5633, + "end": 5634, "loc": { "start": { - "line": 284, - "column": 4 + "line": 293, + "column": 51 }, "end": { - "line": 284, - "column": 7 + "line": 293, + "column": 52 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -27986,16 +29637,16 @@ "postfix": false, "binop": null }, - "start": 5409, - "end": 5410, + "start": 5635, + "end": 5636, "loc": { "start": { - "line": 284, - "column": 8 + "line": 293, + "column": 53 }, "end": { - "line": 284, - "column": 9 + "line": 293, + "column": 54 } } }, @@ -28014,16 +29665,16 @@ "updateContext": null }, "value": "let", - "start": 5410, - "end": 5413, + "start": 5643, + "end": 5646, "loc": { "start": { - "line": 284, - "column": 9 + "line": 294, + "column": 6 }, "end": { - "line": 284, - "column": 12 + "line": 294, + "column": 9 } } }, @@ -28039,16 +29690,16 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5414, - "end": 5415, + "value": "part", + "start": 5647, + "end": 5651, "loc": { "start": { - "line": 284, - "column": 13 + "line": 294, + "column": 10 }, "end": { - "line": 284, + "line": 294, "column": 14 } } @@ -28067,15 +29718,15 @@ "updateContext": null }, "value": "=", - "start": 5416, - "end": 5417, + "start": 5652, + "end": 5653, "loc": { "start": { - "line": 284, + "line": 294, "column": 15 }, "end": { - "line": 284, + "line": 294, "column": 16 } } @@ -28095,15 +29746,15 @@ "updateContext": null }, "value": "this", - "start": 5418, - "end": 5422, + "start": 5654, + "end": 5658, "loc": { "start": { - "line": 284, + "line": 294, "column": 17 }, "end": { - "line": 284, + "line": 294, "column": 21 } } @@ -28121,15 +29772,15 @@ "binop": null, "updateContext": null }, - "start": 5422, - "end": 5423, + "start": 5658, + "end": 5659, "loc": { "start": { - "line": 284, + "line": 294, "column": 21 }, "end": { - "line": 284, + "line": 294, "column": 22 } } @@ -28147,24 +29798,24 @@ "binop": null }, "value": "parts", - "start": 5423, - "end": 5428, + "start": 5659, + "end": 5664, "loc": { "start": { - "line": 284, + "line": 294, "column": 22 }, "end": { - "line": 284, + "line": 294, "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28173,15 +29824,15 @@ "binop": null, "updateContext": null }, - "start": 5428, - "end": 5429, + "start": 5664, + "end": 5665, "loc": { "start": { - "line": 284, + "line": 294, "column": 27 }, "end": { - "line": 284, + "line": 294, "column": 28 } } @@ -28198,52 +29849,51 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 5429, - "end": 5435, + "value": "i", + "start": 5665, + "end": 5666, "loc": { "start": { - "line": 284, + "line": 294, "column": 28 }, "end": { - "line": 284, - "column": 34 + "line": 294, + "column": 29 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 5436, - "end": 5437, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 284, - "column": 35 + "line": 294, + "column": 29 }, "end": { - "line": 284, - "column": 36 + "line": 294, + "column": 30 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28252,24 +29902,24 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 5438, - "end": 5439, + "start": 5667, + "end": 5668, "loc": { "start": { - "line": 284, - "column": 37 + "line": 294, + "column": 30 }, "end": { - "line": 284, - "column": 38 + "line": 294, + "column": 31 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28279,16 +29929,42 @@ "binop": null, "updateContext": null }, - "start": 5439, - "end": 5440, + "value": "if", + "start": 5675, + "end": 5677, "loc": { "start": { - "line": 284, - "column": 38 + "line": 295, + "column": 6 }, "end": { - "line": 284, - "column": 39 + "line": 295, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5678, + "end": 5679, + "loc": { + "start": { + "line": 295, + "column": 9 + }, + "end": { + "line": 295, + "column": 10 } } }, @@ -28304,23 +29980,23 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5441, - "end": 5442, + "value": "part", + "start": 5679, + "end": 5683, "loc": { "start": { - "line": 284, - "column": 40 + "line": 295, + "column": 10 }, "end": { - "line": 284, - "column": 41 + "line": 295, + "column": 14 } } }, { "type": { - "label": "", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -28328,20 +30004,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": 6, "updateContext": null }, - "value": ">=", - "start": 5443, - "end": 5445, + "value": "!==", + "start": 5684, + "end": 5687, "loc": { "start": { - "line": 284, - "column": 42 + "line": 295, + "column": 15 }, "end": { - "line": 284, - "column": 44 + "line": 295, + "column": 18 } } }, @@ -28359,49 +30035,48 @@ "updateContext": null }, "value": 0, - "start": 5446, - "end": 5447, + "start": 5688, + "end": 5689, "loc": { "start": { - "line": 284, - "column": 45 + "line": 295, + "column": 19 }, "end": { - "line": 284, - "column": 46 + "line": 295, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5447, - "end": 5448, + "start": 5689, + "end": 5690, "loc": { "start": { - "line": 284, - "column": 46 + "line": 295, + "column": 20 }, "end": { - "line": 284, - "column": 47 + "line": 295, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28410,100 +30085,103 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5449, - "end": 5450, + "start": 5691, + "end": 5692, "loc": { "start": { - "line": 284, - "column": 48 + "line": 295, + "column": 22 }, "end": { - "line": 284, - "column": 49 + "line": 295, + "column": 23 } } }, { "type": { - "label": "++/--", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "--", - "start": 5450, - "end": 5452, + "value": "significant_digits", + "start": 5701, + "end": 5719, "loc": { "start": { - "line": 284, - "column": 49 + "line": 296, + "column": 8 }, "end": { - "line": 284, - "column": 51 + "line": 296, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5452, - "end": 5453, + "value": "=", + "start": 5720, + "end": 5721, "loc": { "start": { - "line": 284, - "column": 51 + "line": 296, + "column": 27 }, "end": { - "line": 284, - "column": 52 + "line": 296, + "column": 28 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5454, - "end": 5455, + "value": "this", + "start": 5722, + "end": 5726, "loc": { "start": { - "line": 284, - "column": 53 + "line": 296, + "column": 29 }, "end": { - "line": 284, - "column": 54 + "line": 296, + "column": 33 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28514,17 +30192,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 5462, - "end": 5465, + "start": 5726, + "end": 5727, "loc": { "start": { - "line": 285, - "column": 6 + "line": 296, + "column": 33 }, "end": { - "line": 285, - "column": 9 + "line": 296, + "column": 34 } } }, @@ -28540,51 +30217,49 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 5466, - "end": 5470, + "value": "parts", + "start": 5727, + "end": 5732, "loc": { "start": { - "line": 285, - "column": 10 + "line": 296, + "column": 34 }, "end": { - "line": 285, - "column": 14 + "line": 296, + "column": 39 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5471, - "end": 5472, + "start": 5732, + "end": 5733, "loc": { "start": { - "line": 285, - "column": 15 + "line": 296, + "column": 39 }, "end": { - "line": 285, - "column": 16 + "line": 296, + "column": 40 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28592,52 +30267,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5473, - "end": 5477, + "value": "slice", + "start": 5733, + "end": 5738, "loc": { "start": { - "line": 285, - "column": 17 + "line": 296, + "column": 40 }, "end": { - "line": 285, - "column": 21 + "line": 296, + "column": 45 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5477, - "end": 5478, + "start": 5738, + "end": 5739, "loc": { "start": { - "line": 285, - "column": 21 + "line": 296, + "column": 45 }, "end": { - "line": 285, - "column": 22 + "line": 296, + "column": 46 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28645,27 +30318,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parts", - "start": 5478, - "end": 5483, + "value": 0, + "start": 5739, + "end": 5740, "loc": { "start": { - "line": 285, - "column": 22 + "line": 296, + "column": 46 }, "end": { - "line": 285, - "column": 27 + "line": 296, + "column": 47 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28674,16 +30348,16 @@ "binop": null, "updateContext": null }, - "start": 5483, - "end": 5484, + "start": 5740, + "end": 5741, "loc": { "start": { - "line": 285, - "column": 27 + "line": 296, + "column": 47 }, "end": { - "line": 285, - "column": 28 + "line": 296, + "column": 48 } } }, @@ -28700,50 +30374,51 @@ "binop": null }, "value": "i", - "start": 5484, - "end": 5485, + "start": 5742, + "end": 5743, "loc": { "start": { - "line": 285, - "column": 28 + "line": 296, + "column": 49 }, "end": { - "line": 285, - "column": 29 + "line": 296, + "column": 50 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 5485, - "end": 5486, + "value": "+", + "start": 5744, + "end": 5745, "loc": { "start": { - "line": 285, - "column": 29 + "line": 296, + "column": 51 }, "end": { - "line": 285, - "column": 30 + "line": 296, + "column": 52 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28752,23 +30427,23 @@ "binop": null, "updateContext": null }, - "start": 5486, - "end": 5487, + "value": 1, + "start": 5746, + "end": 5747, "loc": { "start": { - "line": 285, - "column": 30 + "line": 296, + "column": 53 }, "end": { - "line": 285, - "column": 31 + "line": 296, + "column": 54 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28776,45 +30451,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5494, - "end": 5496, + "start": 5747, + "end": 5748, "loc": { "start": { - "line": 286, - "column": 6 + "line": 296, + "column": 54 }, "end": { - "line": 286, - "column": 8 + "line": 296, + "column": 55 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5497, - "end": 5498, + "start": 5748, + "end": 5749, "loc": { "start": { - "line": 286, - "column": 9 + "line": 296, + "column": 55 }, "end": { - "line": 286, - "column": 10 + "line": 296, + "column": 56 } } }, @@ -28830,235 +30504,232 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 5498, - "end": 5502, + "value": "reverse", + "start": 5749, + "end": 5756, "loc": { "start": { - "line": 286, - "column": 10 + "line": 296, + "column": 56 }, "end": { - "line": 286, - "column": 14 + "line": 296, + "column": 63 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 5503, - "end": 5506, + "start": 5756, + "end": 5757, "loc": { "start": { - "line": 286, - "column": 15 + "line": 296, + "column": 63 }, "end": { - "line": 286, - "column": 18 + "line": 296, + "column": 64 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 5507, - "end": 5508, + "start": 5757, + "end": 5758, "loc": { "start": { - "line": 286, - "column": 19 + "line": 296, + "column": 64 }, "end": { - "line": 286, - "column": 20 + "line": 296, + "column": 65 } } }, { "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": 5508, - "end": 5509, + "start": 5758, + "end": 5759, "loc": { "start": { - "line": 286, - "column": 20 + "line": 296, + "column": 65 }, "end": { - "line": 286, - "column": 21 + "line": 296, + "column": 66 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5510, - "end": 5511, + "value": "break", + "start": 5768, + "end": 5773, "loc": { "start": { - "line": 286, - "column": 22 + "line": 297, + "column": 8 }, "end": { - "line": 286, - "column": 23 + "line": 297, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "significant_digits", - "start": 5520, - "end": 5538, + "start": 5773, + "end": 5774, "loc": { "start": { - "line": 287, - "column": 8 + "line": 297, + "column": 13 }, "end": { - "line": 287, - "column": 26 + "line": 297, + "column": 14 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5539, - "end": 5540, + "start": 5781, + "end": 5782, "loc": { "start": { - "line": 287, - "column": 27 + "line": 298, + "column": 6 }, "end": { - "line": 287, - "column": 28 + "line": 298, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5541, - "end": 5545, + "start": 5787, + "end": 5788, "loc": { "start": { - "line": 287, - "column": 29 + "line": 299, + "column": 4 }, "end": { - "line": 287, - "column": 33 + "line": 299, + "column": 5 } } }, { "type": { - "label": ".", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5545, - "end": 5546, + "value": "for", + "start": 5794, + "end": 5797, "loc": { "start": { - "line": 287, - "column": 33 + "line": 301, + "column": 4 }, "end": { - "line": 287, - "column": 34 + "line": 301, + "column": 7 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29067,23 +30738,23 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 5546, - "end": 5551, + "start": 5798, + "end": 5799, "loc": { "start": { - "line": 287, - "column": 34 + "line": 301, + "column": 8 }, "end": { - "line": 287, - "column": 39 + "line": 301, + "column": 9 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29094,16 +30765,17 @@ "binop": null, "updateContext": null }, - "start": 5551, - "end": 5552, + "value": "let", + "start": 5799, + "end": 5802, "loc": { "start": { - "line": 287, - "column": 39 + "line": 301, + "column": 9 }, "end": { - "line": 287, - "column": 40 + "line": 301, + "column": 12 } } }, @@ -29119,42 +30791,44 @@ "postfix": false, "binop": null }, - "value": "slice", - "start": 5552, - "end": 5557, + "value": "i", + "start": 5803, + "end": 5804, "loc": { "start": { - "line": 287, - "column": 40 + "line": 301, + "column": 13 }, "end": { - "line": 287, - "column": 45 + "line": 301, + "column": 14 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5557, - "end": 5558, + "value": "=", + "start": 5805, + "end": 5806, "loc": { "start": { - "line": 287, - "column": 45 + "line": 301, + "column": 15 }, "end": { - "line": 287, - "column": 46 + "line": 301, + "column": 16 } } }, @@ -29172,22 +30846,22 @@ "updateContext": null }, "value": 0, - "start": 5558, - "end": 5559, + "start": 5807, + "end": 5808, "loc": { "start": { - "line": 287, - "column": 46 + "line": 301, + "column": 17 }, "end": { - "line": 287, - "column": 47 + "line": 301, + "column": 18 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29198,16 +30872,16 @@ "binop": null, "updateContext": null }, - "start": 5559, - "end": 5560, + "start": 5808, + "end": 5809, "loc": { "start": { - "line": 287, - "column": 47 + "line": 301, + "column": 18 }, "end": { - "line": 287, - "column": 48 + "line": 301, + "column": 19 } } }, @@ -29224,78 +30898,51 @@ "binop": null }, "value": "i", - "start": 5561, - "end": 5562, + "start": 5810, + "end": 5811, "loc": { "start": { - "line": 287, - "column": 49 + "line": 301, + "column": 20 }, "end": { - "line": 287, - "column": 50 + "line": 301, + "column": 21 } } }, { "type": { - "label": "+/-", + "label": "", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 5563, - "end": 5564, - "loc": { - "start": { - "line": 287, - "column": 51 - }, - "end": { - "line": 287, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": 1, - "start": 5565, - "end": 5566, + "value": "<", + "start": 5812, + "end": 5813, "loc": { "start": { - "line": 287, - "column": 53 + "line": 301, + "column": 22 }, "end": { - "line": 287, - "column": 54 + "line": 301, + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29303,16 +30950,17 @@ "postfix": false, "binop": null }, - "start": 5566, - "end": 5567, + "value": "significant_digits", + "start": 5814, + "end": 5832, "loc": { "start": { - "line": 287, - "column": 54 + "line": 301, + "column": 24 }, "end": { - "line": 287, - "column": 55 + "line": 301, + "column": 42 } } }, @@ -29329,16 +30977,16 @@ "binop": null, "updateContext": null }, - "start": 5567, - "end": 5568, + "start": 5832, + "end": 5833, "loc": { "start": { - "line": 287, - "column": 55 + "line": 301, + "column": 42 }, "end": { - "line": 287, - "column": 56 + "line": 301, + "column": 43 } } }, @@ -29354,50 +31002,51 @@ "postfix": false, "binop": null }, - "value": "reverse", - "start": 5568, - "end": 5575, + "value": "length", + "start": 5833, + "end": 5839, "loc": { "start": { - "line": 287, - "column": 56 + "line": 301, + "column": 43 }, "end": { - "line": 287, - "column": 63 + "line": 301, + "column": 49 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5575, - "end": 5576, + "start": 5839, + "end": 5840, "loc": { "start": { - "line": 287, - "column": 63 + "line": 301, + "column": 49 }, "end": { - "line": 287, - "column": 64 + "line": 301, + "column": 50 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29405,49 +31054,49 @@ "postfix": false, "binop": null }, - "start": 5576, - "end": 5577, + "value": "i", + "start": 5841, + "end": 5842, "loc": { "start": { - "line": 287, - "column": 64 + "line": 301, + "column": 51 }, "end": { - "line": 287, - "column": 65 + "line": 301, + "column": 52 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "prefix": true, + "postfix": true, + "binop": null }, - "start": 5577, - "end": 5578, + "value": "++", + "start": 5842, + "end": 5844, "loc": { "start": { - "line": 287, - "column": 65 + "line": 301, + "column": 52 }, "end": { - "line": 287, - "column": 66 + "line": 301, + "column": 54 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29455,54 +31104,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 5587, - "end": 5592, + "start": 5844, + "end": 5845, "loc": { "start": { - "line": 288, - "column": 8 + "line": 301, + "column": 54 }, "end": { - "line": 288, - "column": 13 + "line": 301, + "column": 55 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5592, - "end": 5593, - "loc": { - "start": { - "line": 288, - "column": 13 - }, - "end": { - "line": 288, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29510,22 +31131,23 @@ "postfix": false, "binop": null }, - "start": 5600, - "end": 5601, + "start": 5846, + "end": 5847, "loc": { "start": { - "line": 289, - "column": 6 + "line": 301, + "column": 56 }, "end": { - "line": 289, - "column": 7 + "line": 301, + "column": 57 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29533,53 +31155,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5606, - "end": 5607, + "value": "if", + "start": 5854, + "end": 5856, "loc": { "start": { - "line": 290, - "column": 4 + "line": 302, + "column": 6 }, "end": { - "line": 290, - "column": 5 + "line": 302, + "column": 8 } } }, { "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "for", - "start": 5613, - "end": 5616, + "start": 5857, + "end": 5858, "loc": { "start": { - "line": 292, - "column": 4 + "line": 302, + "column": 9 }, "end": { - "line": 292, - "column": 7 + "line": 302, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29588,25 +31209,25 @@ "postfix": false, "binop": null }, - "start": 5617, - "end": 5618, + "value": "significant_digits", + "start": 5858, + "end": 5876, "loc": { "start": { - "line": 292, - "column": 8 + "line": 302, + "column": 10 }, "end": { - "line": 292, - "column": 9 + "line": 302, + "column": 28 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29615,17 +31236,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 5618, - "end": 5621, + "start": 5876, + "end": 5877, "loc": { "start": { - "line": 292, - "column": 9 + "line": 302, + "column": 28 }, "end": { - "line": 292, - "column": 12 + "line": 302, + "column": 29 } } }, @@ -29642,104 +31262,103 @@ "binop": null }, "value": "i", - "start": 5622, - "end": 5623, + "start": 5877, + "end": 5878, "loc": { "start": { - "line": 292, - "column": 13 + "line": 302, + "column": 29 }, "end": { - "line": 292, - "column": 14 + "line": 302, + "column": 30 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5624, - "end": 5625, + "start": 5878, + "end": 5879, "loc": { "start": { - "line": 292, - "column": 15 + "line": 302, + "column": 30 }, "end": { - "line": 292, - "column": 16 + "line": 302, + "column": 31 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": 0, - "start": 5626, - "end": 5627, + "value": "===", + "start": 5880, + "end": 5883, "loc": { "start": { - "line": 292, - "column": 17 + "line": 302, + "column": 32 }, "end": { - "line": 292, - "column": 18 + "line": 302, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5627, - "end": 5628, + "value": "undefined", + "start": 5884, + "end": 5893, "loc": { "start": { - "line": 292, - "column": 18 + "line": 302, + "column": 36 }, "end": { - "line": 292, - "column": 19 + "line": 302, + "column": 45 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29747,44 +31366,41 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5629, - "end": 5630, + "start": 5893, + "end": 5894, "loc": { "start": { - "line": 292, - "column": 20 + "line": 302, + "column": 45 }, "end": { - "line": 292, - "column": 21 + "line": 302, + "column": 46 } } }, { "type": { - "label": "", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": "<", - "start": 5631, - "end": 5632, + "start": 5895, + "end": 5896, "loc": { "start": { - "line": 292, - "column": 22 + "line": 302, + "column": 47 }, "end": { - "line": 292, - "column": 23 + "line": 302, + "column": 48 } } }, @@ -29801,24 +31417,24 @@ "binop": null }, "value": "significant_digits", - "start": 5633, - "end": 5651, + "start": 5905, + "end": 5923, "loc": { "start": { - "line": 292, - "column": 24 + "line": 303, + "column": 8 }, "end": { - "line": 292, - "column": 42 + "line": 303, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29827,16 +31443,16 @@ "binop": null, "updateContext": null }, - "start": 5651, - "end": 5652, + "start": 5923, + "end": 5924, "loc": { "start": { - "line": 292, - "column": 42 + "line": 303, + "column": 26 }, "end": { - "line": 292, - "column": 43 + "line": 303, + "column": 27 } } }, @@ -29852,24 +31468,24 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 5652, - "end": 5658, + "value": "i", + "start": 5924, + "end": 5925, "loc": { "start": { - "line": 292, - "column": 43 + "line": 303, + "column": 27 }, "end": { - "line": 292, - "column": 49 + "line": 303, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29879,101 +31495,104 @@ "binop": null, "updateContext": null }, - "start": 5658, - "end": 5659, + "start": 5925, + "end": 5926, "loc": { "start": { - "line": 292, - "column": 49 + "line": 303, + "column": 28 }, "end": { - "line": 292, - "column": 50 + "line": 303, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 5660, - "end": 5661, + "value": "=", + "start": 5927, + "end": 5928, "loc": { "start": { - "line": 292, - "column": 51 + "line": 303, + "column": 30 }, "end": { - "line": 292, - "column": 52 + "line": 303, + "column": 31 } } }, { "type": { - "label": "++/--", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "++", - "start": 5661, - "end": 5663, + "value": "0", + "start": 5929, + "end": 5932, "loc": { "start": { - "line": 292, - "column": 52 + "line": 303, + "column": 32 }, "end": { - "line": 292, - "column": 54 + "line": 303, + "column": 35 } } }, { "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": 5663, - "end": 5664, + "start": 5932, + "end": 5933, "loc": { "start": { - "line": 292, - "column": 54 + "line": 303, + "column": 35 }, "end": { - "line": 292, - "column": 55 + "line": 303, + "column": 36 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29981,23 +31600,22 @@ "postfix": false, "binop": null }, - "start": 5665, - "end": 5666, + "start": 5940, + "end": 5941, "loc": { "start": { - "line": 292, - "column": 56 + "line": 304, + "column": 6 }, "end": { - "line": 292, - "column": 57 + "line": 304, + "column": 7 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30005,45 +31623,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5673, - "end": 5675, + "start": 5946, + "end": 5947, "loc": { "start": { - "line": 293, - "column": 6 + "line": 305, + "column": 4 }, "end": { - "line": 293, - "column": 8 + "line": 305, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5676, - "end": 5677, + "value": "let", + "start": 5953, + "end": 5956, "loc": { "start": { - "line": 293, - "column": 9 + "line": 307, + "column": 4 }, "end": { - "line": 293, - "column": 10 + "line": 307, + "column": 7 } } }, @@ -30059,43 +31678,44 @@ "postfix": false, "binop": null }, - "value": "significant_digits", - "start": 5677, - "end": 5695, + "value": "date_length", + "start": 5957, + "end": 5968, "loc": { "start": { - "line": 293, - "column": 10 + "line": 307, + "column": 8 }, "end": { - "line": 293, - "column": 28 + "line": 307, + "column": 19 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5695, - "end": 5696, + "value": "=", + "start": 5969, + "end": 5970, "loc": { "start": { - "line": 293, - "column": 28 + "line": 307, + "column": 20 }, "end": { - "line": 293, - "column": 29 + "line": 307, + "column": 21 } } }, @@ -30111,23 +31731,23 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5696, - "end": 5697, + "value": "significant_digits", + "start": 5971, + "end": 5989, "loc": { "start": { - "line": 293, - "column": 29 + "line": 307, + "column": 22 }, "end": { - "line": 293, - "column": 30 + "line": 307, + "column": 40 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30138,75 +31758,75 @@ "binop": null, "updateContext": null }, - "start": 5697, - "end": 5698, + "start": 5989, + "end": 5990, "loc": { "start": { - "line": 293, - "column": 30 + "line": 307, + "column": 40 }, "end": { - "line": 293, - "column": 31 + "line": 307, + "column": 41 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 5699, - "end": 5702, + "value": "length", + "start": 5990, + "end": 5996, "loc": { "start": { - "line": 293, - "column": 32 + "line": 307, + "column": 41 }, "end": { - "line": 293, - "column": 35 + "line": 307, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 5703, - "end": 5712, + "start": 5996, + "end": 5997, "loc": { "start": { - "line": 293, - "column": 36 + "line": 307, + "column": 47 }, "end": { - "line": 293, - "column": 45 + "line": 307, + "column": 48 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30214,24 +31834,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5712, - "end": 5713, + "value": "if", + "start": 6002, + "end": 6004, "loc": { "start": { - "line": 293, - "column": 45 + "line": 308, + "column": 4 }, "end": { - "line": 293, - "column": 46 + "line": 308, + "column": 6 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -30241,16 +31863,16 @@ "postfix": false, "binop": null }, - "start": 5714, - "end": 5715, + "start": 6005, + "end": 6006, "loc": { "start": { - "line": 293, - "column": 47 + "line": 308, + "column": 7 }, "end": { - "line": 293, - "column": 48 + "line": 308, + "column": 8 } } }, @@ -30266,49 +31888,50 @@ "postfix": false, "binop": null }, - "value": "significant_digits", - "start": 5724, - "end": 5742, + "value": "date_length", + "start": 6006, + "end": 6017, "loc": { "start": { - "line": 294, + "line": 308, "column": 8 }, "end": { - "line": 294, - "column": 26 + "line": 308, + "column": 19 } } }, { "type": { - "label": "[", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 5742, - "end": 5743, + "value": "<", + "start": 6018, + "end": 6019, "loc": { "start": { - "line": 294, - "column": 26 + "line": 308, + "column": 20 }, "end": { - "line": 294, - "column": 27 + "line": 308, + "column": 21 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30316,25 +31939,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 5743, - "end": 5744, + "value": 5, + "start": 6020, + "end": 6021, "loc": { "start": { - "line": 294, - "column": 27 + "line": 308, + "column": 22 }, "end": { - "line": 294, - "column": 28 + "line": 308, + "column": 23 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30342,107 +31966,104 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5744, - "end": 5745, + "start": 6021, + "end": 6022, "loc": { "start": { - "line": 294, - "column": 28 + "line": 308, + "column": 23 }, "end": { - "line": 294, - "column": 29 + "line": 308, + "column": 24 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5746, - "end": 5747, + "start": 6023, + "end": 6024, "loc": { "start": { - "line": 294, - "column": 30 + "line": 308, + "column": 25 }, "end": { - "line": 294, - "column": 31 + "line": 308, + "column": 26 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "postfix": false, + "binop": null }, - "value": "0", - "start": 5748, - "end": 5751, + "value": "significant_digits", + "start": 6031, + "end": 6049, "loc": { "start": { - "line": 294, - "column": 32 + "line": 309, + "column": 6 }, "end": { - "line": 294, - "column": 35 + "line": 309, + "column": 24 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5751, - "end": 5752, + "value": "=", + "start": 6050, + "end": 6051, "loc": { "start": { - "line": 294, - "column": 35 + "line": 309, + "column": 25 }, "end": { - "line": 294, - "column": 36 + "line": 309, + "column": 26 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30450,22 +32071,23 @@ "postfix": false, "binop": null }, - "start": 5759, - "end": 5760, + "value": "significant_digits", + "start": 6052, + "end": 6070, "loc": { "start": { - "line": 295, - "column": 6 + "line": 309, + "column": 27 }, "end": { - "line": 295, - "column": 7 + "line": 309, + "column": 45 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30473,53 +32095,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5765, - "end": 5766, + "start": 6070, + "end": 6071, "loc": { "start": { - "line": 296, - "column": 4 + "line": 309, + "column": 45 }, "end": { - "line": 296, - "column": 5 + "line": 309, + "column": 46 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 5772, - "end": 5775, + "value": "reverse", + "start": 6071, + "end": 6078, "loc": { "start": { - "line": 298, - "column": 4 + "line": 309, + "column": 46 }, "end": { - "line": 298, - "column": 7 + "line": 309, + "column": 53 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30528,103 +32149,102 @@ "postfix": false, "binop": null }, - "value": "date_length", - "start": 5776, - "end": 5787, + "start": 6078, + "end": 6079, "loc": { "start": { - "line": 298, - "column": 8 + "line": 309, + "column": 53 }, "end": { - "line": 298, - "column": 19 + "line": 309, + "column": 54 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5788, - "end": 5789, + "start": 6079, + "end": 6080, "loc": { "start": { - "line": 298, - "column": 20 + "line": 309, + "column": 54 }, "end": { - "line": 298, - "column": 21 + "line": 309, + "column": 55 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "significant_digits", - "start": 5790, - "end": 5808, + "start": 6080, + "end": 6081, "loc": { "start": { - "line": 298, - "column": 22 + "line": 309, + "column": 55 }, "end": { - "line": 298, - "column": 40 + "line": 309, + "column": 56 } } }, { "type": { - "label": ".", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5808, - "end": 5809, + "value": "for", + "start": 6088, + "end": 6091, "loc": { "start": { - "line": 298, - "column": 40 + "line": 310, + "column": 6 }, "end": { - "line": 298, - "column": 41 + "line": 310, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30633,24 +32253,24 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 5809, - "end": 5815, + "start": 6092, + "end": 6093, "loc": { "start": { - "line": 298, - "column": 41 + "line": 310, + "column": 10 }, "end": { - "line": 298, - "column": 47 + "line": 310, + "column": 11 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30660,75 +32280,76 @@ "binop": null, "updateContext": null }, - "start": 5815, - "end": 5816, + "value": "let", + "start": 6093, + "end": 6096, "loc": { "start": { - "line": 298, - "column": 47 + "line": 310, + "column": 11 }, "end": { - "line": 298, - "column": 48 + "line": 310, + "column": 14 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5821, - "end": 5823, + "value": "i", + "start": 6097, + "end": 6098, "loc": { "start": { - "line": 299, - "column": 4 + "line": 310, + "column": 15 }, "end": { - "line": 299, - "column": 6 + "line": 310, + "column": 16 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5824, - "end": 5825, + "value": "=", + "start": 6099, + "end": 6100, "loc": { "start": { - "line": 299, - "column": 7 + "line": 310, + "column": 17 }, "end": { - "line": 299, - "column": 8 + "line": 310, + "column": 18 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30736,25 +32357,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "date_length", - "start": 5825, - "end": 5836, + "value": 0, + "start": 6101, + "end": 6102, "loc": { "start": { - "line": 299, - "column": 8 + "line": 310, + "column": 19 }, "end": { - "line": 299, - "column": 19 + "line": 310, + "column": 20 } } }, { "type": { - "label": "", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -30762,26 +32384,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 5837, - "end": 5838, + "start": 6102, + "end": 6103, "loc": { "start": { - "line": 299, + "line": 310, "column": 20 }, "end": { - "line": 299, + "line": 310, "column": 21 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30789,105 +32410,107 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 5, - "start": 5839, - "end": 5840, + "value": "i", + "start": 6104, + "end": 6105, "loc": { "start": { - "line": 299, + "line": 310, "column": 22 }, "end": { - "line": 299, + "line": 310, "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 5840, - "end": 5841, + "value": "<", + "start": 6106, + "end": 6107, "loc": { "start": { - "line": 299, - "column": 23 + "line": 310, + "column": 24 }, "end": { - "line": 299, - "column": 24 + "line": 310, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5842, - "end": 5843, + "value": 5, + "start": 6108, + "end": 6109, "loc": { "start": { - "line": 299, - "column": 25 + "line": 310, + "column": 26 }, "end": { - "line": 299, - "column": 26 + "line": 310, + "column": 27 } } }, { "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "for", - "start": 5850, - "end": 5853, + "value": "-", + "start": 6110, + "end": 6111, "loc": { "start": { - "line": 300, - "column": 6 + "line": 310, + "column": 28 }, "end": { - "line": 300, - "column": 9 + "line": 310, + "column": 29 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30896,24 +32519,24 @@ "postfix": false, "binop": null }, - "start": 5854, - "end": 5855, + "value": "date_length", + "start": 6112, + "end": 6123, "loc": { "start": { - "line": 300, - "column": 10 + "line": 310, + "column": 30 }, "end": { - "line": 300, - "column": 11 + "line": 310, + "column": 41 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30923,17 +32546,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 5855, - "end": 5858, + "start": 6123, + "end": 6124, "loc": { "start": { - "line": 300, - "column": 11 + "line": 310, + "column": 41 }, "end": { - "line": 300, - "column": 14 + "line": 310, + "column": 42 } } }, @@ -30950,96 +32572,92 @@ "binop": null }, "value": "i", - "start": 5859, - "end": 5860, + "start": 6125, + "end": 6126, "loc": { "start": { - "line": 300, - "column": 15 + "line": 310, + "column": 43 }, "end": { - "line": 300, - "column": 16 + "line": 310, + "column": 44 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null }, - "value": "=", - "start": 5861, - "end": 5862, + "value": "++", + "start": 6126, + "end": 6128, "loc": { "start": { - "line": 300, - "column": 17 + "line": 310, + "column": 44 }, "end": { - "line": 300, - "column": 18 + "line": 310, + "column": 46 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 5863, - "end": 5864, + "start": 6128, + "end": 6129, "loc": { "start": { - "line": 300, - "column": 19 + "line": 310, + "column": 46 }, "end": { - "line": 300, - "column": 20 + "line": 310, + "column": 47 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5864, - "end": 5865, + "start": 6130, + "end": 6131, "loc": { "start": { - "line": 300, - "column": 20 + "line": 310, + "column": 48 }, "end": { - "line": 300, - "column": 21 + "line": 310, + "column": 49 } } }, @@ -31055,50 +32673,49 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5866, - "end": 5867, + "value": "significant_digits", + "start": 6140, + "end": 6158, "loc": { "start": { - "line": 300, - "column": 22 + "line": 311, + "column": 8 }, "end": { - "line": 300, - "column": 23 + "line": 311, + "column": 26 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 5868, - "end": 5869, + "start": 6158, + "end": 6159, "loc": { "start": { - "line": 300, - "column": 24 + "line": 311, + "column": 26 }, "end": { - "line": 300, - "column": 25 + "line": 311, + "column": 27 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31106,53 +32723,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 5, - "start": 5870, - "end": 5871, + "value": "push", + "start": 6159, + "end": 6163, "loc": { "start": { - "line": 300, - "column": 26 + "line": 311, + "column": 27 }, "end": { - "line": 300, - "column": 27 + "line": 311, + "column": 31 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "-", - "start": 5872, - "end": 5873, + "start": 6163, + "end": 6164, "loc": { "start": { - "line": 300, - "column": 28 + "line": 311, + "column": 31 }, "end": { - "line": 300, - "column": 29 + "line": 311, + "column": 32 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31160,105 +32774,104 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "date_length", - "start": 5874, - "end": 5885, + "value": " 0", + "start": 6164, + "end": 6168, "loc": { "start": { - "line": 300, - "column": 30 + "line": 311, + "column": 32 }, "end": { - "line": 300, - "column": 41 + "line": 311, + "column": 36 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5885, - "end": 5886, + "start": 6168, + "end": 6169, "loc": { "start": { - "line": 300, - "column": 41 + "line": 311, + "column": 36 }, "end": { - "line": 300, - "column": 42 + "line": 311, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 5887, - "end": 5888, + "start": 6169, + "end": 6170, "loc": { "start": { - "line": 300, - "column": 43 + "line": 311, + "column": 37 }, "end": { - "line": 300, - "column": 44 + "line": 311, + "column": 38 } } }, { "type": { - "label": "++/--", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 5888, - "end": 5890, + "start": 6177, + "end": 6178, "loc": { "start": { - "line": 300, - "column": 44 + "line": 312, + "column": 6 }, "end": { - "line": 300, - "column": 46 + "line": 312, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31266,41 +32879,44 @@ "postfix": false, "binop": null }, - "start": 5890, - "end": 5891, + "value": "significant_digits", + "start": 6185, + "end": 6203, "loc": { "start": { - "line": 300, - "column": 46 + "line": 313, + "column": 6 }, "end": { - "line": 300, - "column": 47 + "line": 313, + "column": 24 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5892, - "end": 5893, + "value": "=", + "start": 6204, + "end": 6205, "loc": { "start": { - "line": 300, - "column": 48 + "line": 313, + "column": 25 }, "end": { - "line": 300, - "column": 49 + "line": 313, + "column": 26 } } }, @@ -31317,16 +32933,16 @@ "binop": null }, "value": "significant_digits", - "start": 5902, - "end": 5920, + "start": 6206, + "end": 6224, "loc": { "start": { - "line": 301, - "column": 8 + "line": 313, + "column": 27 }, "end": { - "line": 301, - "column": 26 + "line": 313, + "column": 45 } } }, @@ -31343,16 +32959,16 @@ "binop": null, "updateContext": null }, - "start": 5920, - "end": 5921, + "start": 6224, + "end": 6225, "loc": { "start": { - "line": 301, - "column": 26 + "line": 313, + "column": 45 }, "end": { - "line": 301, - "column": 27 + "line": 313, + "column": 46 } } }, @@ -31368,17 +32984,17 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 5921, - "end": 5925, + "value": "reverse", + "start": 6225, + "end": 6232, "loc": { "start": { - "line": 301, - "column": 27 + "line": 313, + "column": 46 }, "end": { - "line": 301, - "column": 31 + "line": 313, + "column": 53 } } }, @@ -31394,43 +33010,16 @@ "postfix": false, "binop": null }, - "start": 5925, - "end": 5926, - "loc": { - "start": { - "line": 301, - "column": 31 - }, - "end": { - "line": 301, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " 0", - "start": 5926, - "end": 5930, + "start": 6232, + "end": 6233, "loc": { "start": { - "line": 301, - "column": 32 + "line": 313, + "column": 53 }, "end": { - "line": 301, - "column": 36 + "line": 313, + "column": 54 } } }, @@ -31446,16 +33035,16 @@ "postfix": false, "binop": null }, - "start": 5930, - "end": 5931, + "start": 6233, + "end": 6234, "loc": { "start": { - "line": 301, - "column": 36 + "line": 313, + "column": 54 }, "end": { - "line": 301, - "column": 37 + "line": 313, + "column": 55 } } }, @@ -31472,41 +33061,16 @@ "binop": null, "updateContext": null }, - "start": 5931, - "end": 5932, - "loc": { - "start": { - "line": 301, - "column": 37 - }, - "end": { - "line": 301, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5939, - "end": 5940, + "start": 6234, + "end": 6235, "loc": { "start": { - "line": 302, - "column": 6 + "line": 313, + "column": 55 }, "end": { - "line": 302, - "column": 7 + "line": 313, + "column": 56 } } }, @@ -31522,15 +33086,15 @@ "postfix": false, "binop": null }, - "start": 5945, - "end": 5946, + "start": 6240, + "end": 6241, "loc": { "start": { - "line": 303, + "line": 314, "column": 4 }, "end": { - "line": 303, + "line": 314, "column": 5 } } @@ -31550,15 +33114,15 @@ "updateContext": null }, "value": "for", - "start": 5952, - "end": 5955, + "start": 6247, + "end": 6250, "loc": { "start": { - "line": 305, + "line": 316, "column": 4 }, "end": { - "line": 305, + "line": 316, "column": 7 } } @@ -31575,15 +33139,15 @@ "postfix": false, "binop": null }, - "start": 5956, - "end": 5957, + "start": 6251, + "end": 6252, "loc": { "start": { - "line": 305, + "line": 316, "column": 8 }, "end": { - "line": 305, + "line": 316, "column": 9 } } @@ -31603,15 +33167,15 @@ "updateContext": null }, "value": "let", - "start": 5957, - "end": 5960, + "start": 6252, + "end": 6255, "loc": { "start": { - "line": 305, + "line": 316, "column": 9 }, "end": { - "line": 305, + "line": 316, "column": 12 } } @@ -31629,15 +33193,15 @@ "binop": null }, "value": "i", - "start": 5961, - "end": 5962, + "start": 6256, + "end": 6257, "loc": { "start": { - "line": 305, + "line": 316, "column": 13 }, "end": { - "line": 305, + "line": 316, "column": 14 } } @@ -31656,15 +33220,15 @@ "updateContext": null }, "value": "=", - "start": 5963, - "end": 5964, + "start": 6258, + "end": 6259, "loc": { "start": { - "line": 305, + "line": 316, "column": 15 }, "end": { - "line": 305, + "line": 316, "column": 16 } } @@ -31683,15 +33247,15 @@ "updateContext": null }, "value": 0, - "start": 5965, - "end": 5966, + "start": 6260, + "end": 6261, "loc": { "start": { - "line": 305, + "line": 316, "column": 17 }, "end": { - "line": 305, + "line": 316, "column": 18 } } @@ -31709,15 +33273,15 @@ "binop": null, "updateContext": null }, - "start": 5966, - "end": 5967, + "start": 6261, + "end": 6262, "loc": { "start": { - "line": 305, + "line": 316, "column": 18 }, "end": { - "line": 305, + "line": 316, "column": 19 } } @@ -31735,15 +33299,15 @@ "binop": null }, "value": "i", - "start": 5968, - "end": 5969, + "start": 6263, + "end": 6264, "loc": { "start": { - "line": 305, + "line": 316, "column": 20 }, "end": { - "line": 305, + "line": 316, "column": 21 } } @@ -31762,15 +33326,15 @@ "updateContext": null }, "value": "<", - "start": 5970, - "end": 5971, + "start": 6265, + "end": 6266, "loc": { "start": { - "line": 305, + "line": 316, "column": 22 }, "end": { - "line": 305, + "line": 316, "column": 23 } } @@ -31788,15 +33352,15 @@ "binop": null }, "value": "significant_digits", - "start": 5972, - "end": 5990, + "start": 6267, + "end": 6285, "loc": { "start": { - "line": 305, + "line": 316, "column": 24 }, "end": { - "line": 305, + "line": 316, "column": 42 } } @@ -31814,15 +33378,15 @@ "binop": null, "updateContext": null }, - "start": 5990, - "end": 5991, + "start": 6285, + "end": 6286, "loc": { "start": { - "line": 305, + "line": 316, "column": 42 }, "end": { - "line": 305, + "line": 316, "column": 43 } } @@ -31840,15 +33404,15 @@ "binop": null }, "value": "length", - "start": 5991, - "end": 5997, + "start": 6286, + "end": 6292, "loc": { "start": { - "line": 305, + "line": 316, "column": 43 }, "end": { - "line": 305, + "line": 316, "column": 49 } } @@ -31866,15 +33430,15 @@ "binop": null, "updateContext": null }, - "start": 5997, - "end": 5998, + "start": 6292, + "end": 6293, "loc": { "start": { - "line": 305, + "line": 316, "column": 49 }, "end": { - "line": 305, + "line": 316, "column": 50 } } @@ -31892,15 +33456,15 @@ "binop": null }, "value": "i", - "start": 5999, - "end": 6000, + "start": 6294, + "end": 6295, "loc": { "start": { - "line": 305, + "line": 316, "column": 51 }, "end": { - "line": 305, + "line": 316, "column": 52 } } @@ -31918,15 +33482,15 @@ "binop": null }, "value": "++", - "start": 6000, - "end": 6002, + "start": 6295, + "end": 6297, "loc": { "start": { - "line": 305, + "line": 316, "column": 52 }, "end": { - "line": 305, + "line": 316, "column": 54 } } @@ -31943,15 +33507,15 @@ "postfix": false, "binop": null }, - "start": 6002, - "end": 6003, + "start": 6297, + "end": 6298, "loc": { "start": { - "line": 305, + "line": 316, "column": 54 }, "end": { - "line": 305, + "line": 316, "column": 55 } } @@ -31968,15 +33532,15 @@ "postfix": false, "binop": null }, - "start": 6004, - "end": 6005, + "start": 6299, + "end": 6300, "loc": { "start": { - "line": 305, + "line": 316, "column": 56 }, "end": { - "line": 305, + "line": 316, "column": 57 } } @@ -31996,15 +33560,15 @@ "updateContext": null }, "value": "let", - "start": 6012, - "end": 6015, + "start": 6307, + "end": 6310, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 9 } } @@ -32022,15 +33586,15 @@ "binop": null }, "value": "part", - "start": 6016, - "end": 6020, + "start": 6311, + "end": 6315, "loc": { "start": { - "line": 306, + "line": 317, "column": 10 }, "end": { - "line": 306, + "line": 317, "column": 14 } } @@ -32049,15 +33613,15 @@ "updateContext": null }, "value": "=", - "start": 6021, - "end": 6022, + "start": 6316, + "end": 6317, "loc": { "start": { - "line": 306, + "line": 317, "column": 15 }, "end": { - "line": 306, + "line": 317, "column": 16 } } @@ -32075,15 +33639,15 @@ "binop": null }, "value": "significant_digits", - "start": 6023, - "end": 6041, + "start": 6318, + "end": 6336, "loc": { "start": { - "line": 306, + "line": 317, "column": 17 }, "end": { - "line": 306, + "line": 317, "column": 35 } } @@ -32101,15 +33665,15 @@ "binop": null, "updateContext": null }, - "start": 6041, - "end": 6042, + "start": 6336, + "end": 6337, "loc": { "start": { - "line": 306, + "line": 317, "column": 35 }, "end": { - "line": 306, + "line": 317, "column": 36 } } @@ -32127,15 +33691,15 @@ "binop": null }, "value": "i", - "start": 6042, - "end": 6043, + "start": 6337, + "end": 6338, "loc": { "start": { - "line": 306, + "line": 317, "column": 36 }, "end": { - "line": 306, + "line": 317, "column": 37 } } @@ -32153,15 +33717,15 @@ "binop": null, "updateContext": null }, - "start": 6043, - "end": 6044, + "start": 6338, + "end": 6339, "loc": { "start": { - "line": 306, + "line": 317, "column": 37 }, "end": { - "line": 306, + "line": 317, "column": 38 } } @@ -32179,15 +33743,15 @@ "binop": null, "updateContext": null }, - "start": 6044, - "end": 6045, + "start": 6339, + "end": 6340, "loc": { "start": { - "line": 306, + "line": 317, "column": 38 }, "end": { - "line": 306, + "line": 317, "column": 39 } } @@ -32205,15 +33769,15 @@ "binop": null }, "value": "toString", - "start": 6045, - "end": 6053, + "start": 6340, + "end": 6348, "loc": { "start": { - "line": 306, + "line": 317, "column": 39 }, "end": { - "line": 306, + "line": 317, "column": 47 } } @@ -32230,15 +33794,15 @@ "postfix": false, "binop": null }, - "start": 6053, - "end": 6054, + "start": 6348, + "end": 6349, "loc": { "start": { - "line": 306, + "line": 317, "column": 47 }, "end": { - "line": 306, + "line": 317, "column": 48 } } @@ -32255,15 +33819,15 @@ "postfix": false, "binop": null }, - "start": 6054, - "end": 6055, + "start": 6349, + "end": 6350, "loc": { "start": { - "line": 306, + "line": 317, "column": 48 }, "end": { - "line": 306, + "line": 317, "column": 49 } } @@ -32281,15 +33845,15 @@ "binop": null, "updateContext": null }, - "start": 6055, - "end": 6056, + "start": 6350, + "end": 6351, "loc": { "start": { - "line": 306, + "line": 317, "column": 49 }, "end": { - "line": 306, + "line": 317, "column": 50 } } @@ -32309,15 +33873,15 @@ "updateContext": null }, "value": "if", - "start": 6063, - "end": 6065, + "start": 6358, + "end": 6360, "loc": { "start": { - "line": 307, + "line": 318, "column": 6 }, "end": { - "line": 307, + "line": 318, "column": 8 } } @@ -32334,15 +33898,15 @@ "postfix": false, "binop": null }, - "start": 6066, - "end": 6067, + "start": 6361, + "end": 6362, "loc": { "start": { - "line": 307, + "line": 318, "column": 9 }, "end": { - "line": 307, + "line": 318, "column": 10 } } @@ -32360,15 +33924,15 @@ "binop": null }, "value": "part", - "start": 6067, - "end": 6071, + "start": 6362, + "end": 6366, "loc": { "start": { - "line": 307, + "line": 318, "column": 10 }, "end": { - "line": 307, + "line": 318, "column": 14 } } @@ -32386,15 +33950,15 @@ "binop": null, "updateContext": null }, - "start": 6071, - "end": 6072, + "start": 6366, + "end": 6367, "loc": { "start": { - "line": 307, + "line": 318, "column": 14 }, "end": { - "line": 307, + "line": 318, "column": 15 } } @@ -32412,15 +33976,15 @@ "binop": null }, "value": "length", - "start": 6072, - "end": 6078, + "start": 6367, + "end": 6373, "loc": { "start": { - "line": 307, + "line": 318, "column": 15 }, "end": { - "line": 307, + "line": 318, "column": 21 } } @@ -32439,15 +34003,15 @@ "updateContext": null }, "value": "<", - "start": 6079, - "end": 6080, + "start": 6374, + "end": 6375, "loc": { "start": { - "line": 307, + "line": 318, "column": 22 }, "end": { - "line": 307, + "line": 318, "column": 23 } } @@ -32466,15 +34030,15 @@ "updateContext": null }, "value": 2, - "start": 6081, - "end": 6082, + "start": 6376, + "end": 6377, "loc": { "start": { - "line": 307, + "line": 318, "column": 24 }, "end": { - "line": 307, + "line": 318, "column": 25 } } @@ -32491,15 +34055,15 @@ "postfix": false, "binop": null }, - "start": 6082, - "end": 6083, + "start": 6377, + "end": 6378, "loc": { "start": { - "line": 307, + "line": 318, "column": 25 }, "end": { - "line": 307, + "line": 318, "column": 26 } } @@ -32516,15 +34080,15 @@ "postfix": false, "binop": null }, - "start": 6084, - "end": 6085, + "start": 6379, + "end": 6380, "loc": { "start": { - "line": 307, + "line": 318, "column": 27 }, "end": { - "line": 307, + "line": 318, "column": 28 } } @@ -32542,15 +34106,15 @@ "binop": null }, "value": "significant_digits", - "start": 6094, - "end": 6112, + "start": 6389, + "end": 6407, "loc": { "start": { - "line": 308, + "line": 319, "column": 8 }, "end": { - "line": 308, + "line": 319, "column": 26 } } @@ -32568,15 +34132,15 @@ "binop": null, "updateContext": null }, - "start": 6112, - "end": 6113, + "start": 6407, + "end": 6408, "loc": { "start": { - "line": 308, + "line": 319, "column": 26 }, "end": { - "line": 308, + "line": 319, "column": 27 } } @@ -32594,15 +34158,15 @@ "binop": null }, "value": "i", - "start": 6113, - "end": 6114, + "start": 6408, + "end": 6409, "loc": { "start": { - "line": 308, + "line": 319, "column": 27 }, "end": { - "line": 308, + "line": 319, "column": 28 } } @@ -32620,15 +34184,15 @@ "binop": null, "updateContext": null }, - "start": 6114, - "end": 6115, + "start": 6409, + "end": 6410, "loc": { "start": { - "line": 308, + "line": 319, "column": 28 }, "end": { - "line": 308, + "line": 319, "column": 29 } } @@ -32647,15 +34211,15 @@ "updateContext": null }, "value": "=", - "start": 6116, - "end": 6117, + "start": 6411, + "end": 6412, "loc": { "start": { - "line": 308, + "line": 319, "column": 30 }, "end": { - "line": 308, + "line": 319, "column": 31 } } @@ -32674,15 +34238,15 @@ "updateContext": null }, "value": " ", - "start": 6118, - "end": 6121, + "start": 6413, + "end": 6416, "loc": { "start": { - "line": 308, + "line": 319, "column": 32 }, "end": { - "line": 308, + "line": 319, "column": 35 } } @@ -32701,15 +34265,15 @@ "updateContext": null }, "value": "+", - "start": 6122, - "end": 6123, + "start": 6417, + "end": 6418, "loc": { "start": { - "line": 308, + "line": 319, "column": 36 }, "end": { - "line": 308, + "line": 319, "column": 37 } } @@ -32727,15 +34291,15 @@ "binop": null }, "value": "part", - "start": 6124, - "end": 6128, + "start": 6419, + "end": 6423, "loc": { "start": { - "line": 308, + "line": 319, "column": 38 }, "end": { - "line": 308, + "line": 319, "column": 42 } } @@ -32753,15 +34317,15 @@ "binop": null, "updateContext": null }, - "start": 6128, - "end": 6129, + "start": 6423, + "end": 6424, "loc": { "start": { - "line": 308, + "line": 319, "column": 42 }, "end": { - "line": 308, + "line": 319, "column": 43 } } @@ -32778,15 +34342,15 @@ "postfix": false, "binop": null }, - "start": 6136, - "end": 6137, + "start": 6431, + "end": 6432, "loc": { "start": { - "line": 309, + "line": 320, "column": 6 }, "end": { - "line": 309, + "line": 320, "column": 7 } } @@ -32803,15 +34367,15 @@ "postfix": false, "binop": null }, - "start": 6142, - "end": 6143, + "start": 6437, + "end": 6438, "loc": { "start": { - "line": 310, + "line": 321, "column": 4 }, "end": { - "line": 310, + "line": 321, "column": 5 } } @@ -32831,15 +34395,15 @@ "updateContext": null }, "value": "return", - "start": 6148, - "end": 6154, + "start": 6443, + "end": 6449, "loc": { "start": { - "line": 311, + "line": 322, "column": 4 }, "end": { - "line": 311, + "line": 322, "column": 10 } } @@ -32857,15 +34421,15 @@ "binop": null }, "value": "significant_digits", - "start": 6155, - "end": 6173, + "start": 6450, + "end": 6468, "loc": { "start": { - "line": 311, + "line": 322, "column": 11 }, "end": { - "line": 311, + "line": 322, "column": 29 } } @@ -32883,15 +34447,15 @@ "binop": null, "updateContext": null }, - "start": 6173, - "end": 6174, + "start": 6468, + "end": 6469, "loc": { "start": { - "line": 311, + "line": 322, "column": 29 }, "end": { - "line": 311, + "line": 322, "column": 30 } } @@ -32909,15 +34473,15 @@ "binop": null }, "value": "join", - "start": 6174, - "end": 6178, + "start": 6469, + "end": 6473, "loc": { "start": { - "line": 311, + "line": 322, "column": 30 }, "end": { - "line": 311, + "line": 322, "column": 34 } } @@ -32934,15 +34498,15 @@ "postfix": false, "binop": null }, - "start": 6178, - "end": 6179, + "start": 6473, + "end": 6474, "loc": { "start": { - "line": 311, + "line": 322, "column": 34 }, "end": { - "line": 311, + "line": 322, "column": 35 } } @@ -32961,15 +34525,15 @@ "updateContext": null }, "value": ".", - "start": 6179, - "end": 6182, + "start": 6474, + "end": 6477, "loc": { "start": { - "line": 311, + "line": 322, "column": 35 }, "end": { - "line": 311, + "line": 322, "column": 38 } } @@ -32986,15 +34550,15 @@ "postfix": false, "binop": null }, - "start": 6182, - "end": 6183, + "start": 6477, + "end": 6478, "loc": { "start": { - "line": 311, + "line": 322, "column": 38 }, "end": { - "line": 311, + "line": 322, "column": 39 } } @@ -33012,15 +34576,15 @@ "binop": null, "updateContext": null }, - "start": 6183, - "end": 6184, + "start": 6478, + "end": 6479, "loc": { "start": { - "line": 311, + "line": 322, "column": 39 }, "end": { - "line": 311, + "line": 322, "column": 40 } } @@ -33037,15 +34601,15 @@ "postfix": false, "binop": null }, - "start": 6187, - "end": 6188, + "start": 6482, + "end": 6483, "loc": { "start": { - "line": 312, + "line": 323, "column": 2 }, "end": { - "line": 312, + "line": 323, "column": 3 } } @@ -33062,15 +34626,15 @@ "postfix": false, "binop": null }, - "start": 6189, - "end": 6190, + "start": 6484, + "end": 6485, "loc": { "start": { - "line": 313, + "line": 324, "column": 0 }, "end": { - "line": 313, + "line": 324, "column": 1 } } @@ -33088,15 +34652,15 @@ "binop": null }, "value": "module", - "start": 6192, - "end": 6198, + "start": 6487, + "end": 6493, "loc": { "start": { - "line": 315, + "line": 326, "column": 0 }, "end": { - "line": 315, + "line": 326, "column": 6 } } @@ -33114,15 +34678,15 @@ "binop": null, "updateContext": null }, - "start": 6198, - "end": 6199, + "start": 6493, + "end": 6494, "loc": { "start": { - "line": 315, + "line": 326, "column": 6 }, "end": { - "line": 315, + "line": 326, "column": 7 } } @@ -33140,15 +34704,15 @@ "binop": null }, "value": "exports", - "start": 6199, - "end": 6206, + "start": 6494, + "end": 6501, "loc": { "start": { - "line": 315, + "line": 326, "column": 7 }, "end": { - "line": 315, + "line": 326, "column": 14 } } @@ -33167,15 +34731,15 @@ "updateContext": null }, "value": "=", - "start": 6207, - "end": 6208, + "start": 6502, + "end": 6503, "loc": { "start": { - "line": 315, + "line": 326, "column": 15 }, "end": { - "line": 315, + "line": 326, "column": 16 } } @@ -33193,15 +34757,15 @@ "binop": null }, "value": "LongCount", - "start": 6209, - "end": 6218, + "start": 6504, + "end": 6513, "loc": { "start": { - "line": 315, + "line": 326, "column": 17 }, "end": { - "line": 315, + "line": 326, "column": 26 } } @@ -33219,15 +34783,15 @@ "binop": null, "updateContext": null }, - "start": 6218, - "end": 6219, + "start": 6513, + "end": 6514, "loc": { "start": { - "line": 315, + "line": 326, "column": 26 }, "end": { - "line": 315, + "line": 326, "column": 27 } } @@ -33245,15 +34809,15 @@ "binop": null, "updateContext": null }, - "start": 6220, - "end": 6220, + "start": 6515, + "end": 6515, "loc": { "start": { - "line": 316, + "line": 327, "column": 0 }, "end": { - "line": 316, + "line": 327, "column": 0 } } diff --git a/docs/class/src/lc/long-count.js~LongCount.html b/docs/class/src/lc/long-count.js~LongCount.html index 878425f..f51b6c7 100644 --- a/docs/class/src/lc/long-count.js~LongCount.html +++ b/docs/class/src/lc/long-count.js~LongCount.html @@ -837,6 +837,35 @@

LongCount

+ + + +
+

+ + + + equal(other: LongCount): boolean +

+
+
+ + +

Given two long count dates, check if they are equal

+
+
+ + + + + + + + + public + + + @@ -1097,7 +1126,7 @@

- source + source

@@ -1153,7 +1182,7 @@

- source + source

@@ -1253,7 +1282,7 @@

- source + source

@@ -1309,7 +1338,7 @@

- source + source

@@ -1365,7 +1394,7 @@

- source + source

@@ -1421,7 +1450,7 @@

- source + source

@@ -1477,7 +1506,7 @@

- source + source

@@ -1533,7 +1562,7 @@

- source + source

@@ -1589,7 +1618,7 @@

- source + source

@@ -1645,7 +1674,7 @@

- source + source

@@ -1701,7 +1730,7 @@

- source + source

@@ -1757,7 +1786,7 @@

- source + source

@@ -1856,7 +1885,7 @@

- source + source

@@ -1912,7 +1941,7 @@

- source + source

@@ -2012,7 +2041,7 @@

- source + source

@@ -2068,7 +2097,7 @@

- source + source

@@ -2124,7 +2153,7 @@

- source + source

@@ -2180,7 +2209,7 @@

- source + source

@@ -2239,7 +2268,7 @@

- source + source

@@ -2294,7 +2323,7 @@

- source + source

@@ -2349,7 +2378,7 @@

- source + source

@@ -2392,6 +2421,78 @@

Return:

+ +
+

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

+ + + + +

Given two long count dates, check if they are equal

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
otherLongCount
+
+
+ +
+

Return:

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

@@ -2405,7 +2506,7 @@

- source + source

@@ -2477,7 +2578,7 @@

- source + source

@@ -2533,7 +2634,7 @@

- source + source

@@ -2590,7 +2691,7 @@

- source + source

@@ -2646,7 +2747,7 @@

- source + source

@@ -2704,7 +2805,7 @@

- source + source

diff --git a/docs/coverage.json b/docs/coverage.json index 8c3df9c..c95b5f7 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { "coverage": "100%", - "expectCount": 155, - "actualCount": 155, + "expectCount": 156, + "actualCount": 156, "files": { "src/cr/calendar-round.js": { "expectCount": 15, @@ -49,8 +49,8 @@ "undocumentLines": [] }, "src/lc/long-count.js": { - "expectCount": 36, - "actualCount": 36, + "expectCount": 37, + "actualCount": 37, "undocumentLines": [] }, "src/lc/night/lord-of-night.js": { diff --git a/docs/file/src/factory/long-count.js.html b/docs/file/src/factory/long-count.js.html index e8b2ee4..c8433ca 100644 --- a/docs/file/src/factory/long-count.js.html +++ b/docs/file/src/factory/long-count.js.html @@ -74,6 +74,15 @@ */ parse(raw) { let parts = raw.split('.'); + if (parts.length < 5) { + parts = parts.reverse(); + for (let i = 0; i < 5; i++) { + if (parts[i] === undefined) { + parts[i] = '0'; + } + } + parts = parts.reverse(); + } for (let i = 0; i < parts.length; i++) { if (i === 0) { if (parts[i].indexOf(' ') >= 0) { diff --git a/docs/file/src/lc/long-count.js.html b/docs/file/src/lc/long-count.js.html index 3604d9e..976cf32 100644 --- a/docs/file/src/lc/long-count.js.html +++ b/docs/file/src/lc/long-count.js.html @@ -87,6 +87,15 @@ this.raw = this.toString(); } + /** + * Given two long count dates, check if they are equal + * @param {LongCount} other + * @return {boolean} + */ + equal(other) { + return `${this}` === `${other}`; + } + /** * Create a copy object of this long count date * @returns {LongCount} @@ -350,9 +359,11 @@ let date_length = significant_digits.length; if (date_length < 5) { + significant_digits = significant_digits.reverse(); for (let i = 0; i < 5 - date_length; i++) { significant_digits.push(' 0'); } + significant_digits = significant_digits.reverse(); } for (let i = 0; i < significant_digits.length; i++) { diff --git a/docs/index.json b/docs/index.json index e46bd68..55ac83c 100644 --- a/docs/index.json +++ b/docs/index.json @@ -2493,7 +2493,7 @@ "__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 if (parts.length < 5) {\n parts = parts.reverse();\n for (let i = 0; i < 5; i++) {\n if (parts[i] === undefined) {\n parts[i] = '0';\n }\n }\n parts = parts.reverse();\n }\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": "/home/drews/Development/maya-dates/src/factory/long-count.js", "access": "public", @@ -2774,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 * Given two long count dates, check if they are equal\n * @param {LongCount} other\n * @return {boolean}\n */\n equal(other) {\n return `${this}` === `${other}`;\n }\n\n /**\n * Create a copy object of this long count 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 significant_digits = significant_digits.reverse();\n for (let i = 0; i < 5 - date_length; i++) {\n significant_digits.push(' 0');\n }\n significant_digits = significant_digits.reverse();\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", @@ -2963,6 +2963,39 @@ { "__docId__": 155, "kind": "method", + "name": "equal", + "memberof": "src/lc/long-count.js~LongCount", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/long-count.js~LongCount#equal", + "access": "public", + "description": "Given two long count dates, check if they are equal", + "lineNumber": 42, + "params": [ + { + "nullable": null, + "types": [ + "LongCount" + ], + "spread": false, + "optional": false, + "name": "other", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 156, + "kind": "method", "name": "clone", "memberof": "src/lc/long-count.js~LongCount", "generator": false, @@ -2971,7 +3004,7 @@ "longname": "src/lc/long-count.js~LongCount#clone", "access": "public", "description": "Create a copy object of this long count date", - "lineNumber": 41, + "lineNumber": 50, "unknown": [ { "tagName": "@returns", @@ -2989,7 +3022,7 @@ "params": [] }, { - "__docId__": 156, + "__docId__": 157, "kind": "method", "name": "get_date_sections", "memberof": "src/lc/long-count.js~LongCount", @@ -2999,7 +3032,7 @@ "longname": "src/lc/long-count.js~LongCount#get_date_sections", "access": "public", "description": "Get specific column in Long Count date", - "lineNumber": 50, + "lineNumber": 59, "unknown": [ { "tagName": "@returns", @@ -3028,7 +3061,7 @@ } }, { - "__docId__": 157, + "__docId__": 158, "kind": "method", "name": "set_date_sections", "memberof": "src/lc/long-count.js~LongCount", @@ -3038,7 +3071,7 @@ "longname": "src/lc/long-count.js~LongCount#set_date_sections", "access": "private", "description": "Set specific column in Long Count date", - "lineNumber": 65, + "lineNumber": 74, "unknown": [ { "tagName": "@returns", @@ -3077,7 +3110,7 @@ } }, { - "__docId__": 159, + "__docId__": 160, "kind": "get", "name": "length", "memberof": "src/lc/long-count.js~LongCount", @@ -3087,7 +3120,7 @@ "longname": "src/lc/long-count.js~LongCount#length", "access": "public", "description": "Return the number of positions in the long count", - "lineNumber": 75, + "lineNumber": 84, "unknown": [ { "tagName": "@returns", @@ -3109,7 +3142,7 @@ } }, { - "__docId__": 160, + "__docId__": 161, "kind": "set", "name": "k_in", "memberof": "src/lc/long-count.js~LongCount", @@ -3119,7 +3152,7 @@ "longname": "src/lc/long-count.js~LongCount#k_in", "access": "public", "description": "Set the k'in component of the date", - "lineNumber": 83, + "lineNumber": 92, "unknown": [ { "tagName": "@returns", @@ -3136,7 +3169,7 @@ } }, { - "__docId__": 161, + "__docId__": 162, "kind": "get", "name": "k_in", "memberof": "src/lc/long-count.js~LongCount", @@ -3146,7 +3179,7 @@ "longname": "src/lc/long-count.js~LongCount#k_in", "access": "public", "description": "Return the k'in component of the date", - "lineNumber": 91, + "lineNumber": 100, "unknown": [ { "tagName": "@returns", @@ -3168,7 +3201,7 @@ } }, { - "__docId__": 162, + "__docId__": 163, "kind": "set", "name": "winal", "memberof": "src/lc/long-count.js~LongCount", @@ -3178,7 +3211,7 @@ "longname": "src/lc/long-count.js~LongCount#winal", "access": "public", "description": "Set the winal component of the date", - "lineNumber": 99, + "lineNumber": 108, "unknown": [ { "tagName": "@returns", @@ -3195,7 +3228,7 @@ } }, { - "__docId__": 163, + "__docId__": 164, "kind": "get", "name": "winal", "memberof": "src/lc/long-count.js~LongCount", @@ -3205,7 +3238,7 @@ "longname": "src/lc/long-count.js~LongCount#winal", "access": "public", "description": "Return the winal component of the date", - "lineNumber": 107, + "lineNumber": 116, "unknown": [ { "tagName": "@returns", @@ -3227,7 +3260,7 @@ } }, { - "__docId__": 164, + "__docId__": 165, "kind": "set", "name": "tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3237,7 +3270,7 @@ "longname": "src/lc/long-count.js~LongCount#tun", "access": "public", "description": "Set the tun component of the date", - "lineNumber": 115, + "lineNumber": 124, "unknown": [ { "tagName": "@returns", @@ -3254,7 +3287,7 @@ } }, { - "__docId__": 165, + "__docId__": 166, "kind": "get", "name": "tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3264,7 +3297,7 @@ "longname": "src/lc/long-count.js~LongCount#tun", "access": "public", "description": "Return the tun component of the date", - "lineNumber": 123, + "lineNumber": 132, "unknown": [ { "tagName": "@returns", @@ -3286,7 +3319,7 @@ } }, { - "__docId__": 166, + "__docId__": 167, "kind": "set", "name": "k_atun", "memberof": "src/lc/long-count.js~LongCount", @@ -3296,7 +3329,7 @@ "longname": "src/lc/long-count.js~LongCount#k_atun", "access": "public", "description": "Set the k'atun component of the date", - "lineNumber": 131, + "lineNumber": 140, "unknown": [ { "tagName": "@returns", @@ -3313,7 +3346,7 @@ } }, { - "__docId__": 167, + "__docId__": 168, "kind": "get", "name": "k_atun", "memberof": "src/lc/long-count.js~LongCount", @@ -3323,7 +3356,7 @@ "longname": "src/lc/long-count.js~LongCount#k_atun", "access": "public", "description": "Return the k'atun component of the date", - "lineNumber": 139, + "lineNumber": 148, "unknown": [ { "tagName": "@returns", @@ -3345,7 +3378,7 @@ } }, { - "__docId__": 168, + "__docId__": 169, "kind": "set", "name": "bak_tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3355,7 +3388,7 @@ "longname": "src/lc/long-count.js~LongCount#bak_tun", "access": "public", "description": "Set the bak'tun component of the date", - "lineNumber": 147, + "lineNumber": 156, "unknown": [ { "tagName": "@returns", @@ -3372,7 +3405,7 @@ } }, { - "__docId__": 169, + "__docId__": 170, "kind": "get", "name": "bak_tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3382,7 +3415,7 @@ "longname": "src/lc/long-count.js~LongCount#bak_tun", "access": "public", "description": "Return the bak'tun component of the date", - "lineNumber": 155, + "lineNumber": 164, "unknown": [ { "tagName": "@returns", @@ -3404,7 +3437,7 @@ } }, { - "__docId__": 170, + "__docId__": 171, "kind": "set", "name": "piktun", "memberof": "src/lc/long-count.js~LongCount", @@ -3414,7 +3447,7 @@ "longname": "src/lc/long-count.js~LongCount#piktun", "access": "public", "description": "Set the piktun component of the date", - "lineNumber": 163, + "lineNumber": 172, "unknown": [ { "tagName": "@returns", @@ -3431,7 +3464,7 @@ } }, { - "__docId__": 171, + "__docId__": 172, "kind": "get", "name": "piktun", "memberof": "src/lc/long-count.js~LongCount", @@ -3441,7 +3474,7 @@ "longname": "src/lc/long-count.js~LongCount#piktun", "access": "public", "description": "Return the piktun component of the date", - "lineNumber": 171, + "lineNumber": 180, "unknown": [ { "tagName": "@returns", @@ -3463,7 +3496,7 @@ } }, { - "__docId__": 172, + "__docId__": 173, "kind": "set", "name": "kalabtun", "memberof": "src/lc/long-count.js~LongCount", @@ -3473,7 +3506,7 @@ "longname": "src/lc/long-count.js~LongCount#kalabtun", "access": "public", "description": "Set the kalabtun component of the date", - "lineNumber": 179, + "lineNumber": 188, "unknown": [ { "tagName": "@returns", @@ -3490,7 +3523,7 @@ } }, { - "__docId__": 173, + "__docId__": 174, "kind": "get", "name": "kalabtun", "memberof": "src/lc/long-count.js~LongCount", @@ -3500,7 +3533,7 @@ "longname": "src/lc/long-count.js~LongCount#kalabtun", "access": "public", "description": "Return the kalabtun component of the date", - "lineNumber": 187, + "lineNumber": 196, "unknown": [ { "tagName": "@returns", @@ -3522,7 +3555,7 @@ } }, { - "__docId__": 174, + "__docId__": 175, "kind": "set", "name": "kinchiltun", "memberof": "src/lc/long-count.js~LongCount", @@ -3532,7 +3565,7 @@ "longname": "src/lc/long-count.js~LongCount#kinchiltun", "access": "public", "description": "Set the kinchiltun component of the date", - "lineNumber": 195, + "lineNumber": 204, "unknown": [ { "tagName": "@returns", @@ -3549,7 +3582,7 @@ } }, { - "__docId__": 175, + "__docId__": 176, "kind": "get", "name": "kinchiltun", "memberof": "src/lc/long-count.js~LongCount", @@ -3559,7 +3592,7 @@ "longname": "src/lc/long-count.js~LongCount#kinchiltun", "access": "public", "description": "Return the kinchiltun component of the date", - "lineNumber": 203, + "lineNumber": 212, "unknown": [ { "tagName": "@returns", @@ -3581,7 +3614,7 @@ } }, { - "__docId__": 176, + "__docId__": 177, "kind": "get", "name": "lord_of_night", "memberof": "src/lc/long-count.js~LongCount", @@ -3591,7 +3624,7 @@ "longname": "src/lc/long-count.js~LongCount#lord_of_night", "access": "public", "description": "", - "lineNumber": 211, + "lineNumber": 220, "return": { "nullable": null, "types": [ @@ -3607,7 +3640,7 @@ } }, { - "__docId__": 177, + "__docId__": 178, "kind": "method", "name": "is_valid", "memberof": "src/lc/long-count.js~LongCount", @@ -3617,7 +3650,7 @@ "longname": "src/lc/long-count.js~LongCount#is_valid", "access": "public", "description": "Ensure the date has only numbers and wildcards separated by points.", - "lineNumber": 221, + "lineNumber": 230, "unknown": [ { "tagName": "@returns", @@ -3635,7 +3668,7 @@ "params": [] }, { - "__docId__": 178, + "__docId__": 179, "kind": "method", "name": "is_partial", "memberof": "src/lc/long-count.js~LongCount", @@ -3645,7 +3678,7 @@ "longname": "src/lc/long-count.js~LongCount#is_partial", "access": "public", "description": "Returns true if any of the positions in the Long Count have been assigned\na {Wildcard} object.", - "lineNumber": 230, + "lineNumber": 239, "return": { "nullable": null, "types": [ @@ -3657,7 +3690,7 @@ "params": [] }, { - "__docId__": 179, + "__docId__": 180, "kind": "method", "name": "get_position", "memberof": "src/lc/long-count.js~LongCount", @@ -3667,7 +3700,7 @@ "longname": "src/lc/long-count.js~LongCount#get_position", "access": "public", "description": "Count the number of days since 0.0.0.0.0 for this LC.", - "lineNumber": 243, + "lineNumber": 252, "return": { "nullable": null, "types": [ @@ -3679,7 +3712,7 @@ "params": [] }, { - "__docId__": 180, + "__docId__": 181, "kind": "method", "name": "build_calendar_round", "memberof": "src/lc/long-count.js~LongCount", @@ -3689,7 +3722,7 @@ "longname": "src/lc/long-count.js~LongCount#build_calendar_round", "access": "public", "description": "", - "lineNumber": 261, + "lineNumber": 270, "return": { "nullable": null, "types": [ @@ -3701,7 +3734,7 @@ "params": [] }, { - "__docId__": 181, + "__docId__": 182, "kind": "method", "name": "build_full_date", "memberof": "src/lc/long-count.js~LongCount", @@ -3711,7 +3744,7 @@ "longname": "src/lc/long-count.js~LongCount#build_full_date", "access": "public", "description": "", - "lineNumber": 271, + "lineNumber": 280, "return": { "nullable": null, "types": [ @@ -3723,7 +3756,7 @@ "params": [] }, { - "__docId__": 182, + "__docId__": 183, "kind": "method", "name": "toString", "memberof": "src/lc/long-count.js~LongCount", @@ -3733,7 +3766,7 @@ "longname": "src/lc/long-count.js~LongCount#toString", "access": "public", "description": "Convert the LongCount to a string and pad the sections of the date", - "lineNumber": 282, + "lineNumber": 291, "unknown": [ { "tagName": "@returns", @@ -3751,7 +3784,7 @@ "params": [] }, { - "__docId__": 183, + "__docId__": 184, "kind": "file", "name": "src/lc/night/lord-of-night.js", "content": "/**\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n */\nclass LordOfNight {\n /**\n * @param {number} id\n */\n constructor(id) {\n /**\n * Number of the Lord of the Night\n * @type {number}\n */\n this.id = id;\n }\n\n /**\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n */\n toString() {\n return `G${this.id}`;\n }\n}\n\n/**\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n */\nfunction get(id) {\n return 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", @@ -3762,7 +3795,7 @@ "lineNumber": 1 }, { - "__docId__": 184, + "__docId__": 185, "kind": "class", "name": "LordOfNight", "memberof": "src/lc/night/lord-of-night.js", @@ -3780,7 +3813,7 @@ "interface": false }, { - "__docId__": 185, + "__docId__": 186, "kind": "constructor", "name": "constructor", "memberof": "src/lc/night/lord-of-night.js~LordOfNight", @@ -3805,7 +3838,7 @@ ] }, { - "__docId__": 186, + "__docId__": 187, "kind": "member", "name": "id", "memberof": "src/lc/night/lord-of-night.js~LordOfNight", @@ -3824,7 +3857,7 @@ } }, { - "__docId__": 187, + "__docId__": 188, "kind": "method", "name": "toString", "memberof": "src/lc/night/lord-of-night.js~LordOfNight", @@ -3846,7 +3879,7 @@ "params": [] }, { - "__docId__": 188, + "__docId__": 189, "kind": "function", "name": "get", "memberof": "src/lc/night/lord-of-night.js", @@ -3882,7 +3915,7 @@ } }, { - "__docId__": 189, + "__docId__": 190, "kind": "variable", "name": "lords_of_the_night", "memberof": "src/lc/night/lord-of-night.js", @@ -3902,7 +3935,7 @@ } }, { - "__docId__": 190, + "__docId__": 191, "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", @@ -3913,7 +3946,7 @@ "lineNumber": 1 }, { - "__docId__": 191, + "__docId__": 192, "kind": "variable", "name": "CalendarRound", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3933,7 +3966,7 @@ } }, { - "__docId__": 192, + "__docId__": 193, "kind": "variable", "name": "origin", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3953,7 +3986,7 @@ } }, { - "__docId__": 193, + "__docId__": 194, "kind": "class", "name": "_CalendarRoundIterator", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3969,7 +4002,7 @@ "interface": false }, { - "__docId__": 194, + "__docId__": 195, "kind": "constructor", "name": "constructor", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -3994,7 +4027,7 @@ ] }, { - "__docId__": 195, + "__docId__": 196, "kind": "member", "name": "current", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -4013,7 +4046,7 @@ } }, { - "__docId__": 196, + "__docId__": 197, "kind": "member", "name": "is_first", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -4032,7 +4065,7 @@ } }, { - "__docId__": 197, + "__docId__": 198, "kind": "member", "name": "date", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -4051,7 +4084,7 @@ } }, { - "__docId__": 198, + "__docId__": 199, "kind": "method", "name": "reset", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -4066,7 +4099,7 @@ "return": null }, { - "__docId__": 201, + "__docId__": 202, "kind": "method", "name": "next", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -4088,7 +4121,7 @@ "params": [] }, { - "__docId__": 204, + "__docId__": 205, "kind": "variable", "name": "iter", "memberof": "src/operations/calendar-round-wildcard.js", @@ -4111,7 +4144,7 @@ } }, { - "__docId__": 205, + "__docId__": 206, "kind": "class", "name": "CalendarRoundWildcard", "memberof": "src/operations/calendar-round-wildcard.js", @@ -4126,7 +4159,7 @@ "interface": false }, { - "__docId__": 206, + "__docId__": 207, "kind": "constructor", "name": "constructor", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -4151,7 +4184,7 @@ ] }, { - "__docId__": 207, + "__docId__": 208, "kind": "member", "name": "cr", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -4170,7 +4203,7 @@ } }, { - "__docId__": 208, + "__docId__": 209, "kind": "method", "name": "run", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -4192,7 +4225,7 @@ "params": [] }, { - "__docId__": 209, + "__docId__": 210, "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", @@ -4203,7 +4236,7 @@ "lineNumber": 1 }, { - "__docId__": 210, + "__docId__": 211, "kind": "variable", "name": "FullDate", "memberof": "src/operations/fulldate-wildcard.js", @@ -4223,7 +4256,7 @@ } }, { - "__docId__": 211, + "__docId__": 212, "kind": "variable", "name": "LongCountWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -4243,7 +4276,7 @@ } }, { - "__docId__": 212, + "__docId__": 213, "kind": "variable", "name": "CalendarRoundWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -4263,7 +4296,7 @@ } }, { - "__docId__": 213, + "__docId__": 214, "kind": "class", "name": "FullDateWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -4278,7 +4311,7 @@ "interface": false }, { - "__docId__": 214, + "__docId__": 215, "kind": "constructor", "name": "constructor", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -4303,7 +4336,7 @@ ] }, { - "__docId__": 215, + "__docId__": 216, "kind": "member", "name": "partial", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -4322,7 +4355,7 @@ } }, { - "__docId__": 216, + "__docId__": 217, "kind": "method", "name": "run", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -4344,7 +4377,7 @@ "params": [] }, { - "__docId__": 217, + "__docId__": 218, "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", @@ -4355,7 +4388,7 @@ "lineNumber": 1 }, { - "__docId__": 218, + "__docId__": 219, "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", @@ -4366,7 +4399,7 @@ "lineNumber": 1 }, { - "__docId__": 219, + "__docId__": 220, "kind": "variable", "name": "wildcard", "memberof": "src/operations/longcount-wildcard.js", @@ -4386,7 +4419,7 @@ } }, { - "__docId__": 220, + "__docId__": 221, "kind": "class", "name": "LongCountWildcard", "memberof": "src/operations/longcount-wildcard.js", @@ -4401,7 +4434,7 @@ "interface": false }, { - "__docId__": 221, + "__docId__": 222, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -4426,7 +4459,7 @@ ] }, { - "__docId__": 222, + "__docId__": 223, "kind": "member", "name": "lc", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -4445,7 +4478,7 @@ } }, { - "__docId__": 223, + "__docId__": 224, "kind": "method", "name": "run", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -4467,7 +4500,7 @@ "params": [] }, { - "__docId__": 224, + "__docId__": 225, "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", @@ -4478,7 +4511,7 @@ "lineNumber": 1 }, { - "__docId__": 225, + "__docId__": 226, "kind": "class", "name": "Wildcard", "memberof": "src/wildcard.js", @@ -4496,7 +4529,7 @@ "interface": false }, { - "__docId__": 226, + "__docId__": 227, "kind": "method", "name": "toString", "memberof": "src/wildcard.js~Wildcard", diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 883398a..ce26b86 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -851,6 +851,12 @@ window.esdocSearchIndex = [ "src/lc/long-count.js~LongCount#date_pattern", "member" ], + [ + "src/lc/long-count.js~longcount#equal", + "class/src/lc/long-count.js~LongCount.html#instance-method-equal", + "src/lc/long-count.js~LongCount#equal", + "method" + ], [ "src/lc/long-count.js~longcount#get_date_sections", "class/src/lc/long-count.js~LongCount.html#instance-method-get_date_sections", @@ -901,25 +907,25 @@ window.esdocSearchIndex = [ ], [ "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#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#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" ], @@ -943,13 +949,13 @@ window.esdocSearchIndex = [ ], [ "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" ], [ "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" ], @@ -973,25 +979,25 @@ window.esdocSearchIndex = [ ], [ "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#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#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 e425edc..42948fa 100644 --- a/docs/source.html +++ b/docs/source.html @@ -50,7 +50,7 @@
-

Source 155/155

+

Source 156/156

@@ -135,9 +135,9 @@ - - - + + + @@ -166,10 +166,10 @@ - - - - + + + + From de193059ec8001fc353e1a3a1f29e6e467c6036b Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 20:35:35 +0000 Subject: [PATCH 3/4] Fix LC render bug --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 89ff83d..5bad400 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@drewsonne/maya-dates", - "version": "1.0.3", + "version": "1.0.4", "description": "Node.js package to represent dates in the Maya Calendar", "main": "src/index.js", "scripts": { From 6cc5081a91f22677407c60afa910add3221e1ebe Mon Sep 17 00:00:00 2001 From: Drew Date: Sun, 5 Jan 2020 20:35:54 +0000 Subject: [PATCH 4/4] Update docs --- docs/index.json | 2 +- docs/source.html | 38 +++++++++++++++++++------------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/index.json b/docs/index.json index 55ac83c..838e2e7 100644 --- a/docs/index.json +++ b/docs/index.json @@ -4566,7 +4566,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", + "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.4\",\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": "/home/drews/Development/maya-dates/package.json", "name": "package.json", "static": true, diff --git a/docs/source.html b/docs/source.html index 42948fa..45a5394 100644 --- a/docs/source.html +++ b/docs/source.html @@ -71,7 +71,7 @@ - + @@ -80,7 +80,7 @@ - + @@ -88,7 +88,7 @@ - + @@ -97,7 +97,7 @@ - + @@ -105,7 +105,7 @@ - + @@ -113,7 +113,7 @@ - + @@ -121,7 +121,7 @@ - + @@ -129,7 +129,7 @@ - + @@ -137,7 +137,7 @@ - + @@ -145,7 +145,7 @@ - + @@ -153,7 +153,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -169,7 +169,7 @@ - + @@ -178,7 +178,7 @@ - + @@ -186,7 +186,7 @@ - + @@ -194,7 +194,7 @@ - + @@ -202,7 +202,7 @@ - + @@ -210,7 +210,7 @@ - + @@ -218,7 +218,7 @@ - +
src/factory/long-count.js LongCountFactory 100 %5/51266 byte462020-01-01 13:01:32 (UTC)1480 byte552020-01-01 20:17:19 (UTC)
src/full-date.js
src/lc/long-count.js LongCount100 %36/366220 byte3152020-01-01 13:02:18 (UTC)100 %37/376515 byte3262020-01-01 20:21:58 (UTC)
src/lc/night/lord-of-night.js100 %15/15 4493 byte 1602020-01-01 13:02:00 (UTC)2020-01-01 20:33:53 (UTC)
src/cr/haab.js100 %21/21 5368 byte 2482020-01-01 13:02:18 (UTC)2020-01-01 20:33:53 (UTC)
src/cr/index.js100 %1/1 251 byte 102020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/cr/tzolkin.js100 %22/22 5099 byte 2402020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/factory/base.js100 %4/4 895 byte 452020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/factory/calendar-round.js100 %6/6 1024 byte 432020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/factory/full-date.js100 %6/6 720 byte 322020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/factory/index.js- 169 byte 52020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/factory/long-count.js100 %5/5 1480 byte 552020-01-01 20:17:19 (UTC)2020-01-01 20:35:14 (UTC)
src/full-date.js100 %5/5 509 byte 312020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/index.js- 201 byte 72020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/lc/index.js- 107 byte 42020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/lc/long-count.js100 %37/37 6515 byte 3262020-01-01 20:21:58 (UTC)2020-01-01 20:35:14 (UTC)
src/lc/night/lord-of-night.js100 %6/6 1059 byte 512020-01-01 13:02:18 (UTC)2020-01-01 20:33:53 (UTC)
src/operations/calendar-round-wildcard.js100 %14/14 2154 byte 1072020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/operations/fulldate-wildcard.js100 %7/7 1938 byte 652020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/operations/index.js- 197 byte 52020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)
src/operations/longcount-wildcard.js100 %5/5 1097 byte 462020-01-01 13:02:18 (UTC)2020-01-01 20:33:53 (UTC)
src/wildcard.js100 %2/2 575 byte 222020-01-01 13:01:32 (UTC)2020-01-01 20:33:53 (UTC)