diff --git a/__tests__/__snapshots__/bin.js.snap b/__tests__/__snapshots__/bin.js.snap index 7d7219631..04c9b6fcc 100644 --- a/__tests__/__snapshots__/bin.js.snap +++ b/__tests__/__snapshots__/bin.js.snap @@ -1563,51 +1563,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Bananas are yellow", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -1665,51 +1627,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Carrots are awesome", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -1767,51 +1691,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Apples are red", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2110,51 +1996,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "test", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2190,18 +2038,6 @@ Array [ Object { "description": Object { "children": Array [], - "position": Object { - "end": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -2251,51 +2087,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "test", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2331,18 +2129,6 @@ Array [ Object { "description": Object { "children": Array [], - "position": Object { - "end": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -2387,51 +2173,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "test", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "examples": Array [], @@ -2467,18 +2215,6 @@ Array [ Object { "description": Object { "children": Array [], - "position": Object { - "end": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", diff --git a/__tests__/__snapshots__/index.js.snap b/__tests__/__snapshots__/index.js.snap index 4f02e2c1d..bd494ced1 100644 --- a/__tests__/__snapshots__/index.js.snap +++ b/__tests__/__snapshots__/index.js.snap @@ -9,51 +9,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "hi", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -118,49 +80,11 @@ exports[`build 3`] = ` \\"children\\": [ { \\"type\\": \\"text\\", - \\"value\\": \\"hi\\", - \\"position\\": { - \\"start\\": { - \\"line\\": 1, - \\"column\\": 1, - \\"offset\\": 0 - }, - \\"end\\": { - \\"line\\": 1, - \\"column\\": 3, - \\"offset\\": 2 - }, - \\"indent\\": [] - } + \\"value\\": \\"hi\\" } - ], - \\"position\\": { - \\"start\\": { - \\"line\\": 1, - \\"column\\": 1, - \\"offset\\": 0 - }, - \\"end\\": { - \\"line\\": 1, - \\"column\\": 3, - \\"offset\\": 2 - }, - \\"indent\\": [] - } - } - ], - \\"position\\": { - \\"start\\": { - \\"line\\": 1, - \\"column\\": 1, - \\"offset\\": 0 - }, - \\"end\\": { - \\"line\\": 1, - \\"column\\": 3, - \\"offset\\": 2 + ] } - } + ] }, \\"tags\\": [], \\"loc\\": { diff --git a/__tests__/__snapshots__/test.js.snap b/__tests__/__snapshots__/test.js.snap index 1fa3f1495..e59c04741 100644 --- a/__tests__/__snapshots__/test.js.snap +++ b/__tests__/__snapshots__/test.js.snap @@ -23,51 +23,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This Vue Component is a test", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -113,51 +75,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "vue-tested component", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -204,51 +128,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a number", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -324,51 +210,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This Vue Component is a test", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -410,51 +258,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "vue-tested component", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -501,51 +311,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "props", }, ], - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -596,51 +368,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a number", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -839,85 +573,21 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -981,51 +651,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -1068,51 +700,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -1159,51 +753,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -1246,51 +802,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -1346,51 +864,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -1433,51 +913,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -3058,51 +2500,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number plus two.", }, ], - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3142,51 +2546,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the number", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -3212,51 +2578,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numbertwo", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -3319,51 +2647,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3406,51 +2696,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -3755,51 +3007,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3851,51 +3065,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -3929,51 +3105,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -4004,51 +3142,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -4104,51 +3204,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -4195,51 +3257,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -4283,51 +3307,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how many things it contains", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -4450,36 +3436,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -4529,36 +3489,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how many things it contains", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4584,36 +3518,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -4663,36 +3571,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4734,36 +3616,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4782,36 +3638,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -4843,36 +3673,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -4922,51 +3726,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -5026,51 +3792,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo's son", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -5164,36 +3892,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -5209,36 +3911,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "i am foo's son", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -5985,51 +4661,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Description of y3", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -6908,51 +5546,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "f5 comment", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -7679,36 +6279,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Description of y3", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -8085,36 +6659,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "f5 comment", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -8484,56 +7032,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function destructures with defaults. It should not have any parameter descriptions.", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -8626,51 +7132,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Similar, but with an array", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -8771,51 +7239,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -8848,51 +7278,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an array of numbers", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -8932,51 +7324,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -9040,51 +7394,13 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a sink", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9133,51 +7449,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a property of the sink.", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9244,51 +7522,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Is it empty", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9355,51 +7595,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This uses the class property transform", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9484,56 +7686,14 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a getter method: it should be documented as a property.", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9602,51 +7762,13 @@ as a property.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method says hello", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9705,51 +7827,13 @@ as a property.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the height of the thing", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -9766,51 +7850,13 @@ as a property.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the width of the thing", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -9885,51 +7931,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a basket. The type should not be linked.", }, ], - "position": Object { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -9970,51 +7978,13 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a basket", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -10059,19 +8029,6 @@ class A { Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a ", }, @@ -10083,39 +8040,11 @@ class A { }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 40, - "line": 1, - "offset": 39, - }, - "indent": Array [], - "start": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - }, "title": null, "type": "link", "url": "Sink", }, Object { - "position": Object { - "end": Object { - "column": 12, - "line": 2, - "offset": 79, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 40, - "line": 1, - "offset": 39, - }, - }, "type": "text", "value": ". The type should be linked. It takes a ", @@ -10128,71 +8057,18 @@ It takes a ", }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 93, - }, - "indent": Array [], - "start": Object { - "column": 12, - "line": 2, - "offset": 79, - }, - }, "title": null, "type": "link", "url": "number", }, Object { - "position": Object { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [], - "start": Object { - "column": 26, - "line": 2, - "offset": 93, - }, - }, "type": "text", "value": " which should also be linked.", }, ], - "position": Object { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10233,51 +8109,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a sink", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -10322,51 +8160,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function takes rest params", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10435,51 +8235,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "So does this one, with types", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10553,51 +8315,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is an async method", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10657,51 +8381,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10742,51 +8428,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -10831,51 +8479,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of optional parameters in ES6", }, ], - "position": Object { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -10943,51 +8553,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A protected function", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11054,51 +8626,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A public function", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11164,51 +8698,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is re-exported", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11266,51 +8762,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #498", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11446,51 +8904,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #749", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11568,51 +8988,13 @@ It takes a ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "babel parser plugins", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -11974,41 +9356,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function destructures with defaults. It should not have any parameter descriptions.", }, ], - "position": Position { - "end": Object { - "column": 33, - "line": 2, - "offset": 88, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12214,36 +9566,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Similar, but with an array", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12422,36 +9748,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12520,36 +9820,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an array of numbers", }, ], - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12613,36 +9887,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12661,36 +9909,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a sink", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12740,36 +9962,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the height of the thing", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12813,36 +10009,10 @@ have any parameter descriptions.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the width of the thing", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -12887,36 +10057,10 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a property of the sink.", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12932,36 +10076,10 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Is it empty", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -12977,36 +10095,10 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This uses the class property transform", }, ], - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13105,41 +10197,11 @@ class A { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a getter method: it should be documented as a property.", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 2, - "offset": 63, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13155,36 +10217,10 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method says hello", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13200,36 +10236,10 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a basket. The type should not be linked.", }, ], - "position": Position { - "end": Object { - "column": 61, - "line": 1, - "offset": 60, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13254,36 +10264,10 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a basket", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -13302,19 +10286,6 @@ as a property.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method returns a ", }, @@ -13330,21 +10301,6 @@ as a property.", "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 12, - "line": 2, - "offset": 79, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 40, - "line": 1, - "offset": 39, - }, - }, "type": "text", "value": ". The type should be linked. It takes a ", @@ -13361,38 +10317,10 @@ It takes a ", "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [], - "start": Object { - "column": 26, - "line": 2, - "offset": 93, - }, - }, "type": "text", "value": " which should also be linked.", }, ], - "position": Position { - "end": Object { - "column": 55, - "line": 2, - "offset": 122, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13424,36 +10352,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "a sink", }, ], - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -13472,36 +10374,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function takes rest params", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13568,36 +10444,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "So does this one, with types", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13671,36 +10521,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is an async method", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13716,36 +10540,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13777,36 +10575,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -13825,36 +10597,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of optional parameters in ES6", }, ], - "position": Position { - "end": Object { - "column": 53, - "line": 1, - "offset": 52, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13925,36 +10671,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A protected function", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -13970,36 +10690,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A public function", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14015,36 +10709,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is re-exported", }, ], - "position": Position { - "end": Object { - "column": 20, - "line": 1, - "offset": 19, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14060,36 +10728,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #498", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14337,36 +10979,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Regression check for #749", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14458,36 +11074,10 @@ It takes a ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "babel parser plugins", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -14571,51 +11161,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my component. This is from issue #458", }, ], - "position": Object { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -14675,51 +11227,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Does nothing. This is from issue #556", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -14760,51 +11274,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A useless property", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -14924,51 +11400,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has fully inferred constructor parameters.", }, ], - "position": Object { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15139,36 +11577,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my component. This is from issue #458", }, ], - "position": Position { - "end": Object { - "column": 46, - "line": 1, - "offset": 45, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15184,36 +11596,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Does nothing. This is from issue #556", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15283,36 +11669,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A useless property", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15348,36 +11708,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has fully inferred constructor parameters.", }, ], - "position": Position { - "end": Object { - "column": 54, - "line": 1, - "offset": 53, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15535,51 +11869,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is for issue 906.", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15620,51 +11916,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-write property.", }, ], - "position": Object { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15745,51 +12003,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-only property.", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -15937,36 +12157,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is for issue 906.", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -15982,36 +12176,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-write property.", }, ], - "position": Position { - "end": Object { - "column": 31, - "line": 1, - "offset": 30, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16047,36 +12215,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is a read-only property.", }, ], - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16288,51 +12430,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -16379,51 +12483,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -16468,51 +12534,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is the default export frogs!", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -16570,51 +12598,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -16655,51 +12645,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -16790,36 +12742,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16889,36 +12815,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -16937,36 +12837,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is the default export frogs!", }, ], - "position": Position { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -16982,36 +12856,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -17043,36 +12891,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -17110,51 +12932,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Mouse event", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -17194,51 +12978,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the pixel location of the event", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -17255,51 +13001,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the original DOM event", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -17409,36 +13117,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Mouse event", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -17501,36 +13183,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the pixel location of the event", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -17574,36 +13230,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the original DOM event", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -17654,51 +13284,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -17709,51 +13301,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "demonstrates how to run foo", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "description": "foo(1);", @@ -17795,51 +13349,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -17925,36 +13441,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -17974,51 +13464,13 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "demonstrates how to run foo", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, ], @@ -18058,36 +13510,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -18125,85 +13551,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -18282,70 +13644,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -18374,51 +13684,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an area chart generator", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -18459,51 +13731,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "chart", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -18609,51 +13843,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Sets the chart data.", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -18776,36 +13972,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an area chart generator", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -18837,36 +14007,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "chart", }, ], - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -18895,36 +14039,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Sets the chart data.", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -18997,51 +14115,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "MyOpaqueType Description Here", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19118,36 +14198,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "MyOpaqueType Description Here", }, ], - "position": Position { - "end": Object { - "column": 30, - "line": 1, - "offset": 29, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -19176,51 +14230,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo", }, ], - "position": Object { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19308,51 +14324,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "value", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19442,36 +14420,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo", }, ], - "position": Position { - "end": Object { - "column": 4, - "line": 1, - "offset": 3, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -19539,36 +14491,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "value", }, ], - "position": Position { - "end": Object { - "column": 6, - "line": 1, - "offset": 5, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -19603,51 +14529,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19722,51 +14610,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x2", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19841,51 +14691,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -19980,51 +14792,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T2", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -20119,51 +14893,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T3", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -20314,36 +15050,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x", }, ], - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20402,36 +15112,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x2", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20494,36 +15178,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T", }, ], - "position": Position { - "end": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20613,36 +15271,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T2", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20736,36 +15368,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "T3", }, ], - "position": Position { - "end": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -20898,51 +15504,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "C description", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -20983,51 +15551,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "m description", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -21140,36 +15670,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "C description", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -21185,36 +15689,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "m description", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -21248,51 +15726,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "With ES6, built-in types are extensible!", }, ], - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -21457,36 +15897,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "With ES6, built-in types are extensible!", }, ], - "position": Position { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -21525,51 +15939,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Adds one to a number", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -21602,51 +15978,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -21672,51 +16010,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the output", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -21771,21 +16071,6 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 1, - "line": 2, - "offset": 60, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one. Internally, this uses ", @@ -21798,39 +16083,11 @@ Array [ }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 15, - "line": 2, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 2, - "offset": 60, - }, - }, "title": null, "type": "link", "url": "addOne", }, Object { - "position": Object { - "end": Object { - "column": 1, - "line": 3, - "offset": 109, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 15, - "line": 2, - "offset": 74, - }, - }, "type": "text", "value": " to do the math. This demonstrates ", @@ -21843,39 +16100,11 @@ Array [ }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 56, - "line": 3, - "offset": 164, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 109, - }, - }, "title": null, "type": "link", "url": "https://en.wikipedia.org/wiki/Addition", }, Object { - "position": Object { - "end": Object { - "column": 5, - "line": 4, - "offset": 169, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 56, - "line": 3, - "offset": 164, - }, - }, "type": "text", "value": " and ", @@ -21888,59 +16117,16 @@ and ", }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 51, - "line": 4, - "offset": 215, - }, - "indent": Array [], - "start": Object { - "column": 5, - "line": 4, - "offset": 169, - }, - }, "title": null, "type": "link", "url": "https://en.wikipedia.org/wiki/Addition", }, ], - "position": Object { - "end": Object { - "column": 51, - "line": 4, - "offset": 215, - }, - "indent": Array [ - 1, - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 30, - "line": 6, - "offset": 246, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "text", "value": "This link refers to nothing: ", }, @@ -21952,52 +16138,14 @@ and ", }, ], "jsdoc": true, - "position": Object { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "indent": Array [], - "start": Object { - "column": 30, - "line": 6, - "offset": 246, - }, - }, "title": null, "type": "link", "url": "nothing", }, ], - "position": Object { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -22030,51 +16178,13 @@ and ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 8, @@ -22100,51 +16210,13 @@ and ", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -22254,36 +16326,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Adds one to a number", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -22333,36 +16379,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22404,36 +16424,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the output", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22452,21 +16446,6 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 1, - "line": 2, - "offset": 60, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one. Internally, this uses ", @@ -22483,21 +16462,6 @@ Object { "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 1, - "line": 3, - "offset": 109, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 15, - "line": 2, - "offset": 74, - }, - }, "type": "text", "value": " to do the math. This demonstrates ", @@ -22514,21 +16478,6 @@ Object { "type": "linkReference", }, Object { - "position": Position { - "end": Object { - "column": 5, - "line": 4, - "offset": 169, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 56, - "line": 3, - "offset": 164, - }, - }, "type": "text", "value": " and ", @@ -22545,41 +16494,11 @@ and ", "type": "linkReference", }, ], - "position": Position { - "end": Object { - "column": 51, - "line": 4, - "offset": 215, - }, - "indent": Array [ - 1, - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 30, - "line": 6, - "offset": 246, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "text", "value": "This link refers to nothing: ", }, @@ -22595,19 +16514,6 @@ and ", "type": "linkReference", }, ], - "position": Position { - "end": Object { - "column": 45, - "line": 6, - "offset": 261, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 6, - "offset": 217, - }, - }, "type": "paragraph", }, Object { @@ -22657,36 +16563,10 @@ and ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the input", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22728,36 +16608,10 @@ and ", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -22822,51 +16676,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my interface.", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -22907,51 +16723,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 1", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23022,51 +16800,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 2", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23218,36 +16958,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my interface.", }, ], - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -23263,36 +16977,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 1", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -23328,36 +17016,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is prop 2", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -23418,85 +17080,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23575,70 +17173,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "I am in ", }, Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - }, "type": "inlineCode", "value": "external.input.js", }, Object { - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 1, - "offset": 28, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -23675,51 +17221,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A neat layout view", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23760,51 +17268,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My field", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23869,51 +17339,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -23947,51 +17379,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -24022,51 +17416,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -24122,51 +17478,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -24200,51 +17518,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -24275,51 +17555,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -24490,36 +17732,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A neat layout view", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24535,36 +17751,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My field", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24580,36 +17770,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24659,36 +17823,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -24730,36 +17868,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -24778,36 +17890,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "My neat function", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -24857,36 +17943,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -24928,36 +17988,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "your word but one better", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -25466,51 +18500,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -25557,51 +18553,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -25635,51 +18593,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -25710,51 +18630,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -25812,51 +18694,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -25903,51 +18747,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -26073,36 +18879,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is my class, a demo thing.", }, ], - "position": Position { - "end": Object { - "column": 32, - "line": 1, - "offset": 31, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26118,36 +18898,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the number 42", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26197,36 +18951,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "whether to get the number", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26268,36 +18996,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forty-two", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26316,36 +19018,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get undefined", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26377,36 +19053,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "does not return anything.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26456,85 +19106,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Add five to ", }, Object { - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "x", }, Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -26567,51 +19153,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number to add five to.", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -26637,51 +19185,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x plus five.", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -26760,70 +19270,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Add five to ", }, Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "x", }, Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -26873,36 +19331,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number to add five to.", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -26944,36 +19376,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "x plus five.", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -27011,51 +19417,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tom MacWright", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "description": Object { @@ -27063,51 +19431,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -27149,51 +19479,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -27212,69 +19504,18 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - }, "type": "text", "value": "markdown link", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "title": null, "type": "link", "url": "http://foo.com/", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "sees", @@ -27405,19 +19646,6 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 2, - "line": 1, - "offset": 1, - }, - }, "type": "text", "value": "markdown link", }, @@ -27427,34 +19655,9 @@ Object { "type": "linkReference", }, ], - "position": Position { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 33, - "line": 1, - "offset": 32, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, ], @@ -27470,36 +19673,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -27531,36 +19708,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -27653,51 +19804,13 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tom MacWright", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, ], @@ -27775,51 +19888,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the time", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -27866,51 +19941,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current date", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -27955,51 +19992,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -28032,51 +20031,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -28102,51 +20063,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "nothing", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -28247,36 +20170,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Get the time", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -28346,36 +20243,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current date", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -28394,36 +20265,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -28473,36 +20318,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -28544,36 +20363,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "nothing", }, ], - "position": Position { - "end": Object { - "column": 8, - "line": 1, - "offset": 7, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -28617,51 +20410,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Attempt to establish a cookie-based session in exchange for credentials.", }, ], - "position": Object { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -28698,119 +20453,29 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login username. Also accepted as ", }, Object { - "position": Object { - "end": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - "indent": Array [], - "start": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - }, "type": "inlineCode", "value": "username", }, Object { - "position": Object { - "end": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - "indent": Array [], - "start": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - }, "type": "text", "value": " or ", }, Object { - "position": Object { - "end": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - "indent": Array [], - "start": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - }, "type": "inlineCode", "value": "email", }, Object { - "position": Object { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -28827,51 +20492,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login password", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -28895,85 +20522,21 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Gets passed ", }, Object { - "position": Object { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "(err, { success:Boolean })", }, Object { - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - }, "type": "text", "value": ".", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -29002,51 +20565,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "promise, to be resolved on success or rejected on failure", }, ], - "position": Object { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -29186,36 +20711,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Attempt to establish a cookie-based session in exchange for credentials.", }, ], - "position": Position { - "end": Object { - "column": 73, - "line": 1, - "offset": 72, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -29302,104 +20801,26 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login username. Also accepted as ", }, Object { - "position": Position { - "end": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - "indent": Array [], - "start": Object { - "column": 34, - "line": 1, - "offset": 33, - }, - }, "type": "inlineCode", "value": "username", }, Object { - "position": Position { - "end": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - "indent": Array [], - "start": Object { - "column": 44, - "line": 1, - "offset": 43, - }, - }, "type": "text", "value": " or ", }, Object { - "position": Position { - "end": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - "indent": Array [], - "start": Object { - "column": 48, - "line": 1, - "offset": 47, - }, - }, "type": "inlineCode", "value": "email", }, Object { - "position": Position { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 55, - "line": 1, - "offset": 54, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 56, - "line": 1, - "offset": 55, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29443,36 +20864,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Login password", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29527,70 +20922,18 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Gets passed ", }, Object { - "position": Position { - "end": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - "indent": Array [], - "start": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - }, "type": "inlineCode", "value": "(err, { success:Boolean })", }, Object { - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 41, - "line": 1, - "offset": 40, - }, - }, "type": "text", "value": ".", }, ], - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29632,36 +20975,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "promise, to be resolved on success or rejected on failure", }, ], - "position": Position { - "end": Object { - "column": 58, - "line": 1, - "offset": 57, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -29717,51 +21034,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass description", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -29799,51 +21078,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass event", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -29976,36 +21217,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass description", }, ], - "position": Position { - "end": Object { - "column": 18, - "line": 1, - "offset": 17, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -30021,36 +21236,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Klass event", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -30105,51 +21294,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employees who are responsible for the project.", }, ], - "position": Object { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 1, @@ -30161,51 +21312,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The name of an employee.", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -30222,51 +21335,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's department.", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -30300,51 +21375,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's type.", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -30468,51 +21505,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some options", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -30524,51 +21523,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how much", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -30592,51 +21553,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "something else", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -30660,51 +21583,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -30752,51 +21637,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo something else", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -31044,36 +21891,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employees who are responsible for the project.", }, ], - "position": Position { - "end": Object { - "column": 51, - "line": 1, - "offset": 50, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31116,36 +21937,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The name of an employee.", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31189,36 +21984,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's department.", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31269,36 +22038,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The employee's type.", }, ], - "position": Position { - "end": Object { - "column": 21, - "line": 1, - "offset": 20, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -31385,36 +22128,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some options", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31457,36 +22174,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "how much", }, ], - "position": Position { - "end": Object { - "column": 9, - "line": 1, - "offset": 8, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31537,36 +22228,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "something else", }, ], - "position": Position { - "end": Object { - "column": 15, - "line": 1, - "offset": 14, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31626,36 +22291,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the current time", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31817,36 +22456,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "foo something else", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -31902,51 +22515,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A function.", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -31981,59 +22556,15 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The input to the function. I should be able to continue the description on a new line, and have it still work in the markdown table.", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -32113,36 +22644,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A function.", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -32192,44 +22697,12 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The input to the function. I should be able to continue the description on a new line, and have it still work in the markdown table.", }, ], - "position": Position { - "end": Object { - "column": 34, - "line": 3, - "offset": 132, - }, - "indent": Array [ - 1, - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -32274,51 +22747,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -32421,36 +22856,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Set the time", }, ], - "position": Position { - "end": Object { - "column": 13, - "line": 1, - "offset": 12, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -32774,51 +23183,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -32856,51 +23227,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the second param", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -32987,51 +23320,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has partially inferred params", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33068,51 +23363,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "number of kinds of fish", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -33190,51 +23447,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has a type in the description and a default in the code", }, ], - "position": Object { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33316,51 +23535,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is foo's documentation", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33401,51 +23582,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The method", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33479,51 +23622,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Param to method", }, ], - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, @@ -33605,51 +23710,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Traditional object", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33690,51 +23757,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method should acquire the param x", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33824,86 +23853,22 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "text", "value": "This tests our support of optional parameters", }, ], - "position": Object { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -33940,51 +23905,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -34002,51 +23929,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "How many octets to parse", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -34063,51 +23952,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A third argument", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 7, @@ -34129,51 +23980,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "to properly be parsed", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 8, @@ -34283,86 +24096,22 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Create a GeoJSON data source instance given an options object", }, ], - "position": Object { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "text", "value": "This tests our support of nested parameters", }, ], - "position": Object { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -34395,51 +24144,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "optional options", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -34451,56 +24162,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A GeoJSON data object or URL to it. The latter is preferable in case of large GeoJSON files.", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -34527,51 +24196,13 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Maximum zoom to preserve detail at.", }, ], - "position": Object { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 8, @@ -34588,51 +24219,13 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tile buffer on each side.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 9, @@ -34652,51 +24245,13 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Simplification tolerance (higher means simpler).", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 10, @@ -34835,56 +24390,14 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for parameters with explicit types but with default values specified in code.", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -34918,51 +24431,13 @@ values specified in code.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an argument", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -34988,51 +24463,13 @@ values specified in code.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -35087,56 +24524,14 @@ values specified in code.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of JSDoc param tags without type information, or any type information we could infer from annotations.", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -35169,51 +24564,13 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -35262,56 +24619,14 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for iterator rest inside an iterator destructure (RestElement)", }, ], - "position": Object { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -35348,51 +24663,13 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "head of iterator", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -35409,51 +24686,13 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "body of iterator", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 6, @@ -35489,51 +24728,13 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "rotated such that the last element was the first", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -35845,36 +25046,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -35946,36 +25121,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the second param", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36133,36 +25282,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has partially inferred params", }, ], - "position": Position { - "end": Object { - "column": 42, - "line": 1, - "offset": 41, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36249,36 +25372,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "number of kinds of fish", }, ], - "position": Position { - "end": Object { - "column": 24, - "line": 1, - "offset": 23, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36333,36 +25430,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method has a type in the description and a default in the code", }, ], - "position": Position { - "end": Object { - "column": 68, - "line": 1, - "offset": 67, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36449,36 +25520,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This is foo's documentation", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36494,36 +25539,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The method", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36573,36 +25592,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Param to method", }, ], - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36628,36 +25621,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Traditional object", }, ], - "position": Position { - "end": Object { - "column": 19, - "line": 1, - "offset": 18, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36673,36 +25640,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This method should acquire the param x", }, ], - "position": Position { - "end": Object { - "column": 39, - "line": 1, - "offset": 38, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -36756,71 +25697,19 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "text", "value": "This tests our support of optional parameters", }, ], - "position": Position { - "end": Object { - "column": 47, - "line": 3, - "offset": 74, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 28, - }, - }, "type": "paragraph", }, Object { @@ -36870,36 +25759,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -36943,36 +25806,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "How many octets to parse", }, ], - "position": Position { - "end": Object { - "column": 25, - "line": 1, - "offset": 24, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37037,36 +25874,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A third argument", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37110,36 +25921,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "to properly be parsed", }, ], - "position": Position { - "end": Object { - "column": 22, - "line": 1, - "offset": 21, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37197,71 +25982,19 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Create a GeoJSON data source instance given an options object", }, ], - "position": Position { - "end": Object { - "column": 62, - "line": 1, - "offset": 61, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "text", "value": "This tests our support of nested parameters", }, ], - "position": Position { - "end": Object { - "column": 44, - "line": 3, - "offset": 106, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 3, - "offset": 63, - }, - }, "type": "paragraph", }, Object { @@ -37315,36 +26048,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "optional options", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37410,41 +26117,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "A GeoJSON data object or URL to it. The latter is preferable in case of large GeoJSON files.", }, ], - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 92, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37488,36 +26165,10 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Maximum zoom to preserve detail at.", }, ], - "position": Position { - "end": Object { - "column": 36, - "line": 1, - "offset": 35, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37582,36 +26233,10 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Tile buffer on each side.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 1, - "offset": 25, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37659,36 +26284,10 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Simplification tolerance (higher means simpler).", }, ], - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37721,41 +26320,11 @@ The latter is preferable in case of large GeoJSON files.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for parameters with explicit types but with default values specified in code.", }, ], - "position": Position { - "end": Object { - "column": 26, - "line": 2, - "offset": 100, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37805,36 +26374,10 @@ values specified in code.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "an argument", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -37893,36 +26436,10 @@ values specified in code.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "some", }, ], - "position": Position { - "end": Object { - "column": 5, - "line": 1, - "offset": 4, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -37941,41 +26458,11 @@ values specified in code.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support of JSDoc param tags without type information, or any type information we could infer from annotations.", }, ], - "position": Position { - "end": Object { - "column": 57, - "line": 2, - "offset": 125, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -38009,36 +26496,10 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38064,41 +26525,11 @@ or any type information we could infer from annotations.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This tests our support for iterator rest inside an iterator destructure (RestElement)", }, ], - "position": Position { - "end": Object { - "column": 35, - "line": 2, - "offset": 85, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -38178,36 +26609,10 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "head of iterator", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38248,36 +26653,10 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "body of iterator", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38338,36 +26717,10 @@ iterator destructure (RestElement)", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "rotated such that the last element was the first", }, ], - "position": Position { - "end": Object { - "column": 49, - "line": 1, - "offset": 48, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38423,51 +26776,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "apples", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -38546,36 +26861,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "apples", }, ], - "position": Position { - "end": Object { - "column": 7, - "line": 1, - "offset": 6, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -38646,51 +26935,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is first", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -38750,51 +27001,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forgot a memberof here... sure hope that doesn't crash anything!", }, ], - "position": Object { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -38895,56 +27108,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "shares a name with a top level item referenced in the TOC... sure hope that doesn't crash anything!", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39031,51 +27202,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has some members", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39116,51 +27249,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::foo", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39233,51 +27328,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::bar", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39375,51 +27432,13 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is third", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -39561,36 +27580,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is first", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39606,36 +27599,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "forgot a memberof here... sure hope that doesn't crash anything!", }, ], - "position": Position { - "end": Object { - "column": 65, - "line": 1, - "offset": 64, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39661,41 +27628,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "shares a name with a top level item referenced in the TOC... sure hope that doesn't crash anything!", }, ], - "position": Position { - "end": Object { - "column": 29, - "line": 2, - "offset": 99, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39711,36 +27648,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This class has some members", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39756,36 +27667,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::foo", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39839,36 +27724,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "second::bar", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -39944,36 +27803,10 @@ that doesn't crash anything!", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function is third", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -40002,51 +27835,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -40087,51 +27882,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -40199,36 +27956,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -40260,36 +27991,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -40327,56 +28032,14 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This takes a number and a callback and calls the callback with the number plus 3.", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -40409,51 +28072,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -40470,51 +28095,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The callback.", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -40580,51 +28167,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This callback takes an error and a number.", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -40657,51 +28206,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The error.", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 4, @@ -40722,51 +28233,13 @@ plus 3.", Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 5, @@ -40898,41 +28371,11 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This takes a number and a callback and calls the callback with the number plus 3.", }, ], - "position": Position { - "end": Object { - "column": 8, - "line": 2, - "offset": 81, - }, - "indent": Array [ - 1, - ], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -40982,36 +28425,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41055,36 +28472,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The callback.", }, ], - "position": Position { - "end": Object { - "column": 14, - "line": 1, - "offset": 13, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41110,36 +28501,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This callback takes an error and a number.", }, ], - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -41213,36 +28578,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The error.", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41286,36 +28625,10 @@ plus 3.", Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The number.", }, ], - "position": Position { - "end": Object { - "column": 12, - "line": 1, - "offset": 11, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41378,51 +28691,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -41463,51 +28738,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -41575,36 +28812,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number one.", }, ], - "position": Position { - "end": Object { - "column": 38, - "line": 1, - "offset": 37, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -41636,36 +28847,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numberone", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -41766,51 +28951,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number plus two.", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -41848,51 +28995,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the number", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -41918,51 +29027,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numbertwo", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "title": "returns", @@ -42063,36 +29134,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "This function returns the number plus two.", }, ], - "position": Position { - "end": Object { - "column": 43, - "line": 1, - "offset": 42, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -42142,36 +29187,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "the number", }, ], - "position": Position { - "end": Object { - "column": 11, - "line": 1, - "offset": 10, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -42229,36 +29248,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "numbertwo", }, ], - "position": Position { - "end": Object { - "column": 10, - "line": 1, - "offset": 9, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -43256,51 +30249,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The foo property", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [ @@ -43400,36 +30355,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The foo property", }, ], - "position": Position { - "end": Object { - "column": 17, - "line": 1, - "offset": 16, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -43553,51 +30482,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the book.", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -43729,51 +30620,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the bookshelf.", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -43984,36 +30837,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the book.", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -44077,36 +30904,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "The title of the bookshelf.", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], @@ -44135,51 +30936,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "errors": Array [], @@ -44212,51 +30975,13 @@ Array [ Object { "children": Array [ Object { - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 3, @@ -44367,36 +31092,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "Represents an IPv6 address", }, ], - "position": Position { - "end": Object { - "column": 27, - "line": 1, - "offset": 26, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, Object { @@ -44465,36 +31164,10 @@ Object { Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "An IPv6 address string", }, ], - "position": Position { - "end": Object { - "column": 23, - "line": 1, - "offset": 22, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], diff --git a/__tests__/lib/__snapshots__/sort.js.snap b/__tests__/lib/__snapshots__/sort.js.snap index 26a127dbb..1353e4e87 100644 --- a/__tests__/lib/__snapshots__/sort.js.snap +++ b/__tests__/lib/__snapshots__/sort.js.snap @@ -8,52 +8,14 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - }, "type": "text", "value": "The Snowflake", }, ], "depth": 1, - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "heading", }, ], - "position": Object { - "end": Object { - "column": 1, - "line": 2, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "kind": "note", @@ -94,52 +56,14 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 3, - "line": 1, - "offset": 2, - }, - }, "type": "text", "value": "The Snowflake", }, ], "depth": 1, - "position": Position { - "end": Object { - "column": 16, - "line": 1, - "offset": 15, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "heading", }, ], - "position": Object { - "end": Object { - "column": 1, - "line": 2, - "offset": 16, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "kind": "note", diff --git a/__tests__/lib/infer/__snapshots__/params.js.snap b/__tests__/lib/infer/__snapshots__/params.js.snap index 498783741..25abe170d 100644 --- a/__tests__/lib/infer/__snapshots__/params.js.snap +++ b/__tests__/lib/infer/__snapshots__/params.js.snap @@ -334,51 +334,13 @@ Array [ Object { "children": Array [ Object { - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "text", "value": "renamed destructuring param", }, ], - "position": Position { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "indent": Array [], - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "paragraph", }, ], - "position": Object { - "end": Object { - "column": 28, - "line": 1, - "offset": 27, - }, - "start": Object { - "column": 1, - "line": 1, - "offset": 0, - }, - }, "type": "root", }, "lineNumber": 2, diff --git a/__tests__/lib/parse.js b/__tests__/lib/parse.js index 9ad0ef3b4..b9d18842c 100644 --- a/__tests__/lib/parse.js +++ b/__tests__/lib/parse.js @@ -1,10 +1,11 @@ const parse = require('../../src/parsers/javascript'); const remark = require('remark'); const visit = require('unist-util-visit'); +const remarkParse = remark().use({ settings: { position: false } }).parse; function pick(obj, props) { if (Array.isArray(props)) { - return props.reduce(function(memo, prop) { + return props.reduce(function (memo, prop) { if (obj[prop] !== undefined) { memo[prop] = obj[prop]; } @@ -25,79 +26,72 @@ function evaluate(fn, filename) { } function addJSDocTag(tree) { - visit(tree, 'link', function(node) { + visit(tree, 'link', function (node) { node.jsdoc = true; }); return tree; } -function removePosition(tree) { - visit(tree, function(node) { - delete node.position; - }); - return tree; -} - -test('parse - @abstract', function() { +test('parse - @abstract', function () { expect( - evaluate(function() { + evaluate(function () { /** @abstract */ })[0].abstract ).toBe(true); }); -test('parse - @access', function() { +test('parse - @access', function () { expect( - evaluate(function() { + evaluate(function () { /** @access public */ })[0].access ).toBe('public'); expect( - evaluate(function() { + evaluate(function () { /** @access protected */ })[0].access ).toBe('protected'); expect( - evaluate(function() { + evaluate(function () { /** @access private */ })[0].access ).toBe('private'); }); -test('parse - @alias', function() {}); +test('parse - @alias', function () {}); -test('parse - @arg', function() {}); +test('parse - @arg', function () {}); -test('parse - @argument', function() {}); +test('parse - @argument', function () {}); -test('parse - @async', function() { +test('parse - @async', function () { expect( - evaluate(function() { + evaluate(function () { /** @async */ })[0].async ).toBe(true); }); -test('parse - @augments', function() { +test('parse - @augments', function () { expect( - evaluate(function() { + evaluate(function () { /** @augments Foo */ })[0].augments[0].name ).toBe('Foo'); }); -test('parse - @description', function() { +test('parse - @description', function () { expect( - evaluate(function() { + evaluate(function () { /** * This is a free-form description * @description This tagged description wins, and [is markdown](http://markdown.com). */ })[0].description ).toEqual( - remark().parse( + remarkParse( 'This tagged description wins, and [is markdown](http://markdown.com).' ) ); @@ -107,30 +101,30 @@ test('parse - @description', function() { * Dossier-style augments tag * https://github.com/google/closure-library/issues/746 */ -test('parse - @augments in dossier style', function() { +test('parse - @augments in dossier style', function () { expect( - evaluate(function() { + evaluate(function () { /** @augments {Foo} */ })[0].augments[0].name ).toBe('Foo'); }); -test('parse - @augments of complex passes through', function() { +test('parse - @augments of complex passes through', function () { expect( - evaluate(function() { + evaluate(function () { /** @augments {function()} */ })[0].augments ).toEqual([]); }); -test('parse - @author', function() {}); +test('parse - @author', function () {}); -test('parse - @borrows', function() {}); +test('parse - @borrows', function () {}); -test('parse - @callback', function() { +test('parse - @callback', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @callback name */ })[0], ['kind', 'name', 'type'] @@ -145,10 +139,10 @@ test('parse - @callback', function() { }); }); -test('parse - @class', function() { +test('parse - @class', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @class */ })[0], ['kind', 'name', 'type'] @@ -159,7 +153,7 @@ test('parse - @class', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @class name */ })[0], ['kind', 'name', 'type'] @@ -171,7 +165,7 @@ test('parse - @class', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @class {Object} name */ })[0], ['kind', 'name', 'type'] @@ -186,20 +180,20 @@ test('parse - @class', function() { }); }); -test('parse - @classdesc', function() { +test('parse - @classdesc', function () { expect( - evaluate(function() { + evaluate(function () { /** @classdesc test */ })[0].classdesc - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @const', function() {}); +test('parse - @const', function () {}); -test('parse - @constant', function() { +test('parse - @constant', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant */ })[0], ['kind', 'name', 'type'] @@ -210,7 +204,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant name */ })[0], ['kind', 'name', 'type'] @@ -222,7 +216,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant {Object} */ })[0], ['kind', 'name', 'type'] @@ -237,7 +231,7 @@ test('parse - @constant', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @constant {Object} name */ })[0], ['kind', 'name', 'type'] @@ -252,60 +246,60 @@ test('parse - @constant', function() { }); }); -test('parse - @constructor', function() {}); +test('parse - @constructor', function () {}); -test('parse - @constructs', function() {}); +test('parse - @constructs', function () {}); -test('parse - @copyright', function() { +test('parse - @copyright', function () { expect( - evaluate(function() { + evaluate(function () { /** @copyright test */ })[0].copyright - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @default', function() {}); +test('parse - @default', function () {}); -test('parse - @defaultvalue', function() {}); +test('parse - @defaultvalue', function () {}); -test('parse - @deprecated', function() { +test('parse - @deprecated', function () { expect( - evaluate(function() { + evaluate(function () { /** @deprecated test */ })[0].deprecated - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @desc', function() { +test('parse - @desc', function () { expect( - evaluate(function() { + evaluate(function () { /** @desc test */ })[0].description - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @description', function() { +test('parse - @description', function () { expect( - evaluate(function() { + evaluate(function () { /** @description test */ })[0].description - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - description', function() { +test('parse - description', function () { expect( - evaluate(function() { + evaluate(function () { /** test */ })[0].description - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @emits', function() {}); +test('parse - @emits', function () {}); -test('parse - @enum', function() { +test('parse - @enum', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @enum {string} */ })[0], ['kind', 'type'] @@ -319,10 +313,10 @@ test('parse - @enum', function() { }); }); -test('parse - @event', function() { +test('parse - @event', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @event name */ })[0], ['kind', 'name'] @@ -333,9 +327,9 @@ test('parse - @event', function() { }); }); -test('parse - @example', function() { +test('parse - @example', function () { expect( - evaluate(function() { + evaluate(function () { /** @example test */ })[0].examples[0] ).toEqual({ @@ -343,7 +337,7 @@ test('parse - @example', function() { }); expect( - evaluate(function() { + evaluate(function () { /** * @example * a @@ -355,7 +349,7 @@ test('parse - @example', function() { }); expect( - evaluate(function() { + evaluate(function () { /** * @example caption * a @@ -364,11 +358,11 @@ test('parse - @example', function() { })[0].examples[0] ).toEqual({ description: 'a\nb', - caption: remark().parse('caption') + caption: remarkParse('caption') }); expect( - evaluate(function() { + evaluate(function () { /** @example */ })[0].errors[0] ).toEqual({ @@ -377,22 +371,22 @@ test('parse - @example', function() { }); }); -test('parse - @exception', function() {}); +test('parse - @exception', function () {}); -test('parse - @exports', function() {}); +test('parse - @exports', function () {}); -test('parse - @extends', function() { +test('parse - @extends', function () { expect( - evaluate(function() { + evaluate(function () { /** @extends Foo */ })[0].augments[0].name ).toEqual('Foo'); }); -test('parse - @external', function() { +test('parse - @external', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @external name */ })[0], ['kind', 'name'] @@ -403,10 +397,10 @@ test('parse - @external', function() { }); }); -test('parse - @file', function() { +test('parse - @file', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @file */ })[0], ['kind'] @@ -417,27 +411,27 @@ test('parse - @file', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @file desc */ })[0], ['kind', 'description'] ) ).toEqual({ kind: 'file', - description: remark().parse('desc') + description: remarkParse('desc') }); }); -test('parse - @fileoverview', function() {}); +test('parse - @fileoverview', function () {}); -test('parse - @fires', function() {}); +test('parse - @fires', function () {}); -test('parse - @func', function() {}); +test('parse - @func', function () {}); -test('parse - @function', function() { +test('parse - @function', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @function */ })[0], ['kind', 'name'] @@ -448,7 +442,7 @@ test('parse - @function', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @function name */ })[0], ['kind', 'name'] @@ -461,110 +455,110 @@ test('parse - @function', function() { // When @function takes a name, it is acting as a shorthand for @name and // should detach from code the same way @name does. expect( - evaluate(function() { + evaluate(function () { /** @function */ function foo() {} })[0].context.ast ).toBeDefined(); expect( - evaluate(function() { + evaluate(function () { /** @function name */ function foo() {} })[0].context.ast ).toBeUndefined(); }); -test('parse - @generator', function() { +test('parse - @generator', function () { expect( - evaluate(function() { + evaluate(function () { /** @generator */ })[0].generator ).toBe(true); }); -test('parse - @global', function() { +test('parse - @global', function () { expect( - evaluate(function() { + evaluate(function () { /** @global */ })[0].scope ).toBe('global'); }); -test('parse - @hideconstructor', function() { +test('parse - @hideconstructor', function () { expect( - evaluate(function() { + evaluate(function () { /** @hideconstructor */ })[0].hideconstructor ).toBe(true); }); -test('parse - @host', function() {}); +test('parse - @host', function () {}); -test('parse - @ignore', function() { +test('parse - @ignore', function () { expect( - evaluate(function() { + evaluate(function () { /** @ignore */ })[0].ignore ).toBe(true); }); -test('parse - @implements', function() { +test('parse - @implements', function () { expect( - evaluate(function() { + evaluate(function () { /** @implements {Foo} */ })[0].implements[0].name ).toEqual('Foo'); }); -test('parse - @inheritdoc', function() {}); +test('parse - @inheritdoc', function () {}); -test('parse - @inner', function() { +test('parse - @inner', function () { expect( - evaluate(function() { + evaluate(function () { /** @inner*/ })[0].scope ).toBe('inner'); }); -test('parse - @instance', function() { +test('parse - @instance', function () { expect( - evaluate(function() { + evaluate(function () { /** @instance*/ })[0].scope ).toBe('instance'); }); -test('parse - @interface', function() { +test('parse - @interface', function () { expect( - evaluate(function() { + evaluate(function () { /** @interface */ })[0].kind ).toEqual('interface'); expect( - evaluate(function() { + evaluate(function () { /** @interface Foo */ })[0].name ).toEqual('Foo'); }); -test('parse - @kind', function() { +test('parse - @kind', function () { expect( - evaluate(function() { + evaluate(function () { /** @kind class */ })[0].kind ).toBe('class'); }); -test('parse - @license', function() {}); +test('parse - @license', function () {}); -test('parse - @listens', function() {}); +test('parse - @listens', function () {}); -test('parse - @member', function() { +test('parse - @member', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @member */ })[0], ['kind', 'name', 'type'] @@ -575,7 +569,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member name */ })[0], ['kind', 'name', 'type'] @@ -587,7 +581,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member {Object} */ })[0], ['kind', 'name', 'type'] @@ -602,7 +596,7 @@ test('parse - @member', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @member {Object} name */ })[0], ['kind', 'name', 'type'] @@ -617,22 +611,22 @@ test('parse - @member', function() { }); }); -test('parse - @memberof', function() { +test('parse - @memberof', function () { expect( - evaluate(function() { + evaluate(function () { /** @memberof test */ })[0].memberof ).toBe('test'); }); -test('parse - @method', function() {}); +test('parse - @method', function () {}); -test('parse - @mixes', function() {}); +test('parse - @mixes', function () {}); -test('parse - @mixin', function() { +test('parse - @mixin', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @mixin */ })[0], ['kind', 'name'] @@ -643,7 +637,7 @@ test('parse - @mixin', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @mixin name */ })[0], ['kind', 'name'] @@ -654,10 +648,10 @@ test('parse - @mixin', function() { }); }); -test('parse - @module', function() { +test('parse - @module', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @module */ })[0], ['kind', 'name', 'type'] @@ -668,7 +662,7 @@ test('parse - @module', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @module name */ })[0], ['kind', 'name', 'type'] @@ -680,7 +674,7 @@ test('parse - @module', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @module {Object} name */ })[0], ['kind', 'name', 'type'] @@ -695,25 +689,25 @@ test('parse - @module', function() { }); }); -test('parse - @name', function() { +test('parse - @name', function () { expect( - evaluate(function() { + evaluate(function () { /** @name test */ })[0].name ).toBe('test'); expect( - evaluate(function() { + evaluate(function () { /** @name foo */ const bar = 0; })[0].context.ast ).toBeUndefined(); }); -test('parse - @namespace', function() { +test('parse - @namespace', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace */ })[0], ['kind', 'name', 'type'] @@ -724,7 +718,7 @@ test('parse - @namespace', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace name */ })[0], ['kind', 'name', 'type'] @@ -736,7 +730,7 @@ test('parse - @namespace', function() { expect( pick( - evaluate(function() { + evaluate(function () { /** @namespace {Object} name */ })[0], ['kind', 'name', 'type'] @@ -751,19 +745,19 @@ test('parse - @namespace', function() { }); }); -test('parse - @override', function() { +test('parse - @override', function () { expect( - evaluate(function() { + evaluate(function () { /** @override */ })[0].override ).toBe(true); }); -test('parse - @overview', function() {}); +test('parse - @overview', function () {}); -test('parse - @param', function() { +test('parse - @param', function () { expect( - evaluate(function() { + evaluate(function () { /** @param test */ })[0].params[0] ).toEqual({ @@ -773,7 +767,7 @@ test('parse - @param', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @param {number} test */ })[0].params[0] ).toEqual({ @@ -787,7 +781,7 @@ test('parse - @param', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @param {number} test - desc */ })[0].params[0] ).toEqual({ @@ -797,22 +791,22 @@ test('parse - @param', function() { name: 'number', type: 'NameExpression' }, - description: remark().parse('desc'), + description: remarkParse('desc'), lineNumber: 0 }); }); -test('parse - @private', function() { +test('parse - @private', function () { expect( - evaluate(function() { + evaluate(function () { /** @private */ })[0].access ).toBe('private'); }); -test('parse - @prop', function() { +test('parse - @prop', function () { expect( - evaluate(function() { + evaluate(function () { /** @prop {number} test */ })[0].properties[0] ).toEqual({ @@ -826,7 +820,7 @@ test('parse - @prop', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @prop {number} test - desc */ })[0].properties[0] ).toEqual({ @@ -836,14 +830,14 @@ test('parse - @prop', function() { name: 'number', type: 'NameExpression' }, - description: remark().parse('desc'), + description: remarkParse('desc'), lineNumber: 0 }); }); -test('parse - @property', function() { +test('parse - @property', function () { expect( - evaluate(function() { + evaluate(function () { /** @property {number} test */ })[0].properties[0] ).toEqual({ @@ -857,7 +851,7 @@ test('parse - @property', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @property {number} test - desc */ })[0].properties[0] ).toEqual({ @@ -867,47 +861,47 @@ test('parse - @property', function() { name: 'number', type: 'NameExpression' }, - description: remark().parse('desc'), + description: remarkParse('desc'), lineNumber: 0 }); }); -test('parse - @protected', function() { +test('parse - @protected', function () { expect( - evaluate(function() { + evaluate(function () { /** @protected */ })[0].access ).toBe('protected'); }); -test('parse - @public', function() {}); +test('parse - @public', function () {}); -test('parse - @readonly', function() { +test('parse - @readonly', function () { expect( - evaluate(function() { + evaluate(function () { /** @readonly */ })[0].readonly ).toBe(true); }); -test('parse - @requires', function() {}); +test('parse - @requires', function () {}); -test('parse - @return', function() { +test('parse - @return', function () { expect( - evaluate(function() { + evaluate(function () { /** @return test */ })[0].returns[0] ).toEqual({ title: 'returns', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @return {number} test */ })[0].returns[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'returns', type: { name: 'number', @@ -916,22 +910,22 @@ test('parse - @return', function() { }); }); -test('parse - @returns', function() { +test('parse - @returns', function () { expect( - evaluate(function() { + evaluate(function () { /** @returns test */ })[0].returns[0] ).toEqual({ title: 'returns', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @returns {number} test */ })[0].returns[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'returns', type: { name: 'number', @@ -940,20 +934,20 @@ test('parse - @returns', function() { }); }); -test('parse - @see', function() { +test('parse - @see', function () { expect( - evaluate(function() { + evaluate(function () { /** @see [test](#test) */ })[0].sees ).toEqual([ { title: 'sees', - description: remark().parse('[test](#test)') + description: remarkParse('[test](#test)') } ]); expect( - evaluate(function() { + evaluate(function () { /** * @see [a](#a) * @see [b](#b) @@ -962,46 +956,46 @@ test('parse - @see', function() { ).toEqual([ { title: 'sees', - description: remark().parse('[a](#a)') + description: remarkParse('[a](#a)') }, { title: 'sees', - description: remark().parse('[b](#b)') + description: remarkParse('[b](#b)') } ]); }); -test('parse - @since', function() {}); +test('parse - @since', function () {}); -test('parse - @static', function() { +test('parse - @static', function () { expect( - evaluate(function() { + evaluate(function () { /** @static */ })[0].scope ).toBe('static'); }); -test('parse - @summary', function() { +test('parse - @summary', function () { expect( - evaluate(function() { + evaluate(function () { /** @summary test */ })[0].summary - ).toEqual(remark().parse('test')); + ).toEqual(remarkParse('test')); }); -test('parse - @this', function() {}); +test('parse - @this', function () {}); -test('parse - @throws', function() { +test('parse - @throws', function () { expect( - evaluate(function() { + evaluate(function () { /** @throws desc */ })[0].throws[0] ).toEqual({ - description: remark().parse('desc') + description: remarkParse('desc') }); expect( - evaluate(function() { + evaluate(function () { /** @throws {Error} */ })[0].throws[0] ).toEqual({ @@ -1012,7 +1006,7 @@ test('parse - @throws', function() { }); expect( - evaluate(function() { + evaluate(function () { /** @throws {Error} desc */ })[0].throws[0] ).toEqual({ @@ -1020,11 +1014,11 @@ test('parse - @throws', function() { name: 'Error', type: 'NameExpression' }, - description: remark().parse('desc') + description: remarkParse('desc') }); expect( - evaluate(function() { + evaluate(function () { /** * @throws a * @throws b @@ -1032,39 +1026,39 @@ test('parse - @throws', function() { })[0].throws ).toEqual([ { - description: remark().parse('a') + description: remarkParse('a') }, { - description: remark().parse('b') + description: remarkParse('b') } ]); }); -test('parse - @todo', function() { +test('parse - @todo', function () { expect( - evaluate(function() { + evaluate(function () { /** @todo test */ })[0].todos - ).toEqual([remark().parse('test')]); + ).toEqual([remarkParse('test')]); expect( - evaluate(function() { + evaluate(function () { /** * @todo a * @todo b */ })[0].todos - ).toEqual([remark().parse('a'), remark().parse('b')]); + ).toEqual([remarkParse('a'), remarkParse('b')]); }); -test('parse - @tutorial', function() {}); +test('parse - @tutorial', function () {}); -test('parse - @type', function() {}); +test('parse - @type', function () {}); -test('parse - @typedef', function() { +test('parse - @typedef', function () { expect( pick( - evaluate(function() { + evaluate(function () { /** @typedef {Object} name */ })[0], ['kind', 'name', 'type'] @@ -1079,36 +1073,36 @@ test('parse - @typedef', function() { }); }); -test('parse - @var', function() {}); +test('parse - @var', function () {}); -test('parse - @variation', function() { +test('parse - @variation', function () { expect( - evaluate(function() { + evaluate(function () { /** @variation 1 */ })[0].variation ).toBe(1); }); -test('parse - @version', function() {}); +test('parse - @version', function () {}); -test('parse - @virtual', function() {}); +test('parse - @virtual', function () {}); -test('parse - @yield', function() { +test('parse - @yield', function () { expect( - evaluate(function() { + evaluate(function () { /** @yield test */ })[0].yields[0] ).toEqual({ title: 'yields', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @yield {number} test */ })[0].yields[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'yields', type: { name: 'number', @@ -1117,22 +1111,22 @@ test('parse - @yield', function() { }); }); -test('parse - @yields', function() { +test('parse - @yields', function () { expect( - evaluate(function() { + evaluate(function () { /** @yields test */ })[0].yields[0] ).toEqual({ title: 'yields', - description: remark().parse('test') + description: remarkParse('test') }); expect( - evaluate(function() { + evaluate(function () { /** @yields {number} test */ })[0].yields[0] ).toEqual({ - description: remark().parse('test'), + description: remarkParse('test'), title: 'yields', type: { name: 'number', @@ -1141,9 +1135,9 @@ test('parse - @yields', function() { }); }); -test('parse - unknown tag', function() { +test('parse - unknown tag', function () { expect( - evaluate(function() { + evaluate(function () { /** @unknown */ })[0].errors[0] ).toEqual({ @@ -1152,43 +1146,35 @@ test('parse - unknown tag', function() { }); }); -test('parse - {@link}', function() { +test('parse - {@link}', function () { expect( - removePosition( - evaluate(function() { - /** {@link Foo} */ - })[0].description - ) - ).toEqual(addJSDocTag(removePosition(remark().parse('[Foo](Foo)')))); + evaluate(function () { + /** {@link Foo} */ + })[0].description + ).toEqual(addJSDocTag(remarkParse('[Foo](Foo)'))); expect( - removePosition( - evaluate(function() { - /** {@link Foo|text} */ - })[0].description - ) - ).toEqual(addJSDocTag(removePosition(remark().parse('[text](Foo)')))); + evaluate(function () { + /** {@link Foo|text} */ + })[0].description + ).toEqual(addJSDocTag(remarkParse('[text](Foo)'))); expect( - removePosition( - evaluate(function() { - /** {@link Foo text} */ - })[0].description - ) - ).toEqual(addJSDocTag(removePosition(remark().parse('[text](Foo)')))); + evaluate(function () { + /** {@link Foo text} */ + })[0].description + ).toEqual(addJSDocTag(remarkParse('[text](Foo)'))); }); -test('parse - {@linkcode}', function() {}); +test('parse - {@linkcode}', function () {}); -test('parse - {@linkplain}', function() {}); +test('parse - {@linkplain}', function () {}); -test('parse - {@tutorial}', function() { +test('parse - {@tutorial}', function () { expect( - removePosition( - evaluate(function() { - /** {@tutorial id} */ - })[0].description - ) + evaluate(function () { + /** {@tutorial id} */ + })[0].description ).toEqual({ type: 'root', children: [ @@ -1213,11 +1199,9 @@ test('parse - {@tutorial}', function() { }); expect( - removePosition( - evaluate(function() { - /** {@tutorial id|text} */ - })[0].description - ) + evaluate(function () { + /** {@tutorial id|text} */ + })[0].description ).toEqual({ type: 'root', children: [ @@ -1242,11 +1226,9 @@ test('parse - {@tutorial}', function() { }); expect( - removePosition( - evaluate(function() { - /** {@tutorial id text} */ - })[0].description - ) + evaluate(function () { + /** {@tutorial id text} */ + })[0].description ).toEqual({ type: 'root', children: [ diff --git a/__tests__/lib/parsers/javascript.js b/__tests__/lib/parsers/javascript.js index 1f92d4c62..a7a4b3eea 100644 --- a/__tests__/lib/parsers/javascript.js +++ b/__tests__/lib/parsers/javascript.js @@ -1,5 +1,6 @@ const remark = require('remark'); const parse = require('../../../src/parsers/javascript'); +const remarkParse = remark().use({ settings: { position: false } }).parse; function toComments(source, filename, opts) { source = typeof source === 'string' ? source : '(' + source.toString() + ')'; @@ -12,41 +13,41 @@ function toComments(source, filename, opts) { ); } -test('parse - leading comment', function() { +test('parse - leading comment', function () { expect( - toComments(function() { + toComments(function () { /** one */ /** two */ function two() {} - }).map(function(c) { + }).map(function (c) { return c.description; }) - ).toEqual([remark().parse('one'), remark().parse('two')]); + ).toEqual([remarkParse('one'), remarkParse('two')]); }); -test('parse - trailing comment', function() { +test('parse - trailing comment', function () { expect( - toComments(function() { + toComments(function () { /** one */ function one() {} /** two */ - }).map(function(c) { + }).map(function (c) { return c.description; }) - ).toEqual([remark().parse('one'), remark().parse('two')]); + ).toEqual([remarkParse('one'), remarkParse('two')]); }); -test('parse - unknown tag', function() { +test('parse - unknown tag', function () { expect( - toComments(function() { + toComments(function () { /** @unknown */ })[0].tags[0].title ).toBe('unknown'); }); -test('parse - error', function() { +test('parse - error', function () { expect( - toComments(function() { + toComments(function () { /** @param {foo */ })[0].errors ).toEqual([ @@ -55,7 +56,7 @@ test('parse - error', function() { ]); }); -test('parse - document exported', function() { +test('parse - document exported', function () { expect( toComments( ` @@ -85,7 +86,7 @@ test('parse - document exported', function() { ).toBe(2); }); -test('parse - constructor comments', function() { +test('parse - constructor comments', function () { expect( toComments(` class Test { diff --git a/__tests__/lib/sort.js b/__tests__/lib/sort.js index 015a0d43f..3941daf87 100644 --- a/__tests__/lib/sort.js +++ b/__tests__/lib/sort.js @@ -1,7 +1,7 @@ const sort = require('../../src/sort'); const path = require('path'); -test('sort stream alphanumeric', function() { +test('sort stream alphanumeric', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const banana = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -11,7 +11,7 @@ test('sort stream alphanumeric', function() { expect(sort([carrot, apples, banana])).toEqual([apples, carrot, banana]); }); -test('sort stream with configuration', function() { +test('sort stream with configuration', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -23,7 +23,7 @@ test('sort stream with configuration', function() { ).toEqual([carrot, bananas, apples]); }); -test('sort stream with configuration and a section', function() { +test('sort stream with configuration and a section', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -43,49 +43,11 @@ test('sort stream with configuration and a section', function() { children: [ { type: 'text', - value: 'here lies bananas', - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + value: 'here lies bananas' } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + ] } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - } - } + ] }, kind: 'note', path: [ @@ -103,7 +65,7 @@ test('sort stream with configuration and a section', function() { ).toEqual([carrot, sectionMarkdown, bananas, apples]); }); -test('sort an already-sorted stream containing a section/description', function() { +test('sort an already-sorted stream containing a section/description', function () { // this happens in the 'serve' task const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; @@ -123,49 +85,11 @@ test('sort an already-sorted stream containing a section/description', function( children: [ { type: 'text', - value: 'here lies bananas', - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + value: 'here lies bananas' } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - }, - indent: [] - } + ] } - ], - position: { - start: { - line: 1, - column: 1, - offset: 0 - }, - end: { - line: 1, - column: 18, - offset: 17 - } - } + ] }, kind: 'note', path: [ @@ -185,7 +109,7 @@ test('sort an already-sorted stream containing a section/description', function( expect(sortTwice).toEqual([carrot, sectionMarkdown, bananas, apples]); }); -test('sort toc with files', function() { +test('sort toc with files', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -202,7 +126,7 @@ test('sort toc with files', function() { ).toMatchSnapshot(); }); -test('sort toc with files absolute path', function() { +test('sort toc with files absolute path', function () { const apples = { context: { sortKey: 'a' }, name: 'apples' }; const carrot = { context: { sortKey: 'b' }, name: 'carrot' }; const bananas = { context: { sortKey: 'c' }, name: 'bananas' }; @@ -218,7 +142,7 @@ test('sort toc with files absolute path', function() { ).toMatchSnapshot(); }); -test('sort toc with files absolute path', function() { +test('sort toc with files absolute path', function () { const apples = { context: { sortKey: 'a' }, name: 'apples', diff --git a/package.json b/package.json index 86e95e746..be4b9a89f 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "stream-array": "^1.1.2", "strip-json-comments": "^2.0.1", "tiny-lr": "^1.1.0", - "unist-builder": "^1.0.2", - "unist-util-visit": "^1.3.0", + "unist-builder": "^2.0.3", + "unist-util-visit": "^2.0.3", "vfile": "^4.0.0", "vfile-reporter": "^6.0.0", "vfile-sort": "^2.1.0", @@ -71,7 +71,6 @@ "yargs": "^15.3.1" }, "devDependencies": { - "babel-core": "^7.0.0-bridge.0", "chdir": "0.0.0", "cz-conventional-changelog": "2.1.0", "documentation-schema": "0.0.1", diff --git a/src/parse_markdown.js b/src/parse_markdown.js index aee24bec9..666661952 100644 --- a/src/parse_markdown.js +++ b/src/parse_markdown.js @@ -10,7 +10,9 @@ const inlineTokenizer = require('./inline_tokenizer'); * @private */ function parseMarkdown(string) { - return remark().use(inlineTokenizer).parse(string); + return remark() + .use({ plugins: [inlineTokenizer], settings: { position: false } }) + .parse(string); } module.exports = parseMarkdown; diff --git a/yarn.lock b/yarn.lock index 2ad4f3ff8..7f8b150be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1695,11 +1695,6 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -babel-core@^7.0.0-bridge.0: - version "7.0.0-bridge.0" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" - integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== - babel-jest@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" @@ -7682,14 +7677,7 @@ unique-stream@^2.0.2: json-stable-stringify-without-jsonify "^1.0.1" through2-filter "^3.0.0" -unist-builder@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-1.0.4.tgz#e1808aed30bd72adc3607f25afecebef4dd59e17" - integrity sha512-v6xbUPP7ILrT15fHGrNyHc1Xda8H3xVhP7/HAIotHOhVPjH5dCXA097C3Rry1Q2O+HbOLCao4hfPB+EYEjHgVg== - dependencies: - object-assign "^4.1.0" - -unist-builder@^2.0.0: +unist-builder@^2.0.0, unist-builder@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-2.0.3.tgz#77648711b5d86af0942f334397a33c5e91516436" integrity sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw== @@ -7699,11 +7687,6 @@ unist-util-generated@^1.0.0: resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.6.tgz#5ab51f689e2992a472beb1b35f2ce7ff2f324d4b" integrity sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg== -unist-util-is@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-3.0.0.tgz#d9e84381c2468e82629e4a5be9d7d05a2dd324cd" - integrity sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A== - unist-util-is@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.1.0.tgz#976e5f462a7a5de73d94b706bac1b90671b57797" @@ -7728,13 +7711,6 @@ unist-util-stringify-position@^2.0.0: dependencies: "@types/unist" "^2.0.2" -unist-util-visit-parents@^2.0.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9" - integrity sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g== - dependencies: - unist-util-is "^3.0.0" - unist-util-visit-parents@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz#65a6ce698f78a6b0f56aa0e88f13801886cdaef6" @@ -7743,14 +7719,7 @@ unist-util-visit-parents@^3.0.0: "@types/unist" "^2.0.0" unist-util-is "^4.0.0" -unist-util-visit@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3" - integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw== - dependencies: - unist-util-visit-parents "^2.0.0" - -unist-util-visit@^2.0.0: +unist-util-visit@^2.0.0, unist-util-visit@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c" integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q==