UNPKG

seed-engine

Version:

A Lightweight 2D game engine using WebGL2. The engine is designed on the focus of creating a bridge between creating and publishing games to the Seed Network as modules.

1,900 lines 45.7 kB
{ "type": "File", "start": 0, "end": 318, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 17, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 318, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 17, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ExportNamedDeclaration", "start": 88, "end": 158, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 8, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 95, "end": 158, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 8, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 101, "end": 158, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 8, "column": 1 } }, "id": { "type": "Identifier", "start": 101, "end": 109, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 21 }, "identifierName": "degToRad" }, "name": "degToRad", "leadingComments": null }, "init": { "type": "ArrowFunctionExpression", "start": 112, "end": 158, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 8, "column": 1 } }, "id": { "type": "Identifier", "start": 101, "end": 109, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 21 }, "identifierName": "degToRad" }, "name": "degToRad", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 113, "end": 116, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 28 }, "identifierName": "deg" }, "name": "deg" } ], "body": { "type": "BlockStatement", "start": 121, "end": 158, "loc": { "start": { "line": 6, "column": 33 }, "end": { "line": 8, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 127, "end": 156, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 33 } }, "argument": { "type": "BinaryExpression", "start": 134, "end": 155, "loc": { "start": { "line": 7, "column": 11 }, "end": { "line": 7, "column": 32 } }, "left": { "type": "BinaryExpression", "start": 135, "end": 144, "loc": { "start": { "line": 7, "column": 12 }, "end": { "line": 7, "column": 21 } }, "left": { "type": "Identifier", "start": 135, "end": 138, "loc": { "start": { "line": 7, "column": 12 }, "end": { "line": 7, "column": 15 }, "identifierName": "deg" }, "name": "deg" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 141, "end": 144, "loc": { "start": { "line": 7, "column": 18 }, "end": { "line": 7, "column": 21 } }, "extra": { "rawValue": 180, "raw": "180" }, "value": 180 }, "extra": { "parenthesized": true, "parenStart": 134 } }, "operator": "*", "right": { "type": "MemberExpression", "start": 148, "end": 155, "loc": { "start": { "line": 7, "column": 25 }, "end": { "line": 7, "column": 32 } }, "object": { "type": "Identifier", "start": 148, "end": 152, "loc": { "start": { "line": 7, "column": 25 }, "end": { "line": 7, "column": 29 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 153, "end": 155, "loc": { "start": { "line": 7, "column": 30 }, "end": { "line": 7, "column": 32 }, "identifierName": "PI" }, "name": "PI" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": null, "trailingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Converts degrees to radians.\n * \n * @param {number} deg A number in degrees.\n ", "start": 0, "end": 87, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Converts radians to degress.\n * \n * @param {number} rad A number in radians.\n ", "start": 160, "end": 247, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 14, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Converts degrees to radians.\n * \n * @param {number} deg A number in degrees.\n ", "start": 0, "end": 87, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Converts radians to degress.\n * \n * @param {number} rad A number in radians.\n ", "start": 160, "end": 247, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 14, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 248, "end": 318, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 17, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 255, "end": 318, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 17, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 261, "end": 318, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 17, "column": 1 } }, "id": { "type": "Identifier", "start": 261, "end": 269, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 21 }, "identifierName": "radToDeg" }, "name": "radToDeg", "leadingComments": null }, "init": { "type": "ArrowFunctionExpression", "start": 272, "end": 318, "loc": { "start": { "line": 15, "column": 24 }, "end": { "line": 17, "column": 1 } }, "id": { "type": "Identifier", "start": 261, "end": 269, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 21 }, "identifierName": "radToDeg" }, "name": "radToDeg", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 273, "end": 276, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 15, "column": 28 }, "identifierName": "rad" }, "name": "rad" } ], "body": { "type": "BlockStatement", "start": 281, "end": 318, "loc": { "start": { "line": 15, "column": 33 }, "end": { "line": 17, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 287, "end": 316, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 33 } }, "argument": { "type": "BinaryExpression", "start": 294, "end": 315, "loc": { "start": { "line": 16, "column": 11 }, "end": { "line": 16, "column": 32 } }, "left": { "type": "BinaryExpression", "start": 295, "end": 308, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 25 } }, "left": { "type": "Identifier", "start": 295, "end": 298, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 15 }, "identifierName": "rad" }, "name": "rad" }, "operator": "/", "right": { "type": "MemberExpression", "start": 301, "end": 308, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 25 } }, "object": { "type": "Identifier", "start": 301, "end": 305, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 22 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 306, "end": 308, "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 16, "column": 25 }, "identifierName": "PI" }, "name": "PI" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 294 } }, "operator": "*", "right": { "type": "NumericLiteral", "start": 312, "end": 315, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 32 } }, "extra": { "rawValue": 180, "raw": "180" }, "value": 180 } } } ], "directives": [] } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Converts radians to degress.\n * \n * @param {number} rad A number in radians.\n ", "start": 160, "end": 247, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 14, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Converts radians to degress.\n * \n * @param {number} rad A number in radians.\n ", "start": 160, "end": 247, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 14, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Converts degrees to radians.\n * \n * @param {number} deg A number in degrees.\n ", "start": 0, "end": 87, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Converts radians to degress.\n * \n * @param {number} rad A number in radians.\n ", "start": 160, "end": 247, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 14, "column": 3 } } } ], "tokens": [ { "type": "CommentBlock", "value": "*\n * Converts degrees to radians.\n * \n * @param {number} deg A number in degrees.\n ", "start": 0, "end": 87, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 88, "end": 94, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 95, "end": 100, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "degToRad", "start": 101, "end": 109, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 110, "end": 111, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 112, "end": 113, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deg", "start": 113, "end": 116, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 116, "end": 117, "loc": { "start": { "line": 6, "column": 28 }, "end": { "line": 6, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 118, "end": 120, "loc": { "start": { "line": 6, "column": 30 }, "end": { "line": 6, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 121, "end": 122, "loc": { "start": { "line": 6, "column": 33 }, "end": { "line": 6, "column": 34 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 127, "end": 133, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 134, "end": 135, "loc": { "start": { "line": 7, "column": 11 }, "end": { "line": 7, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deg", "start": 135, "end": 138, "loc": { "start": { "line": 7, "column": 12 }, "end": { "line": 7, "column": 15 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 139, "end": 140, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 17 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 180, "start": 141, "end": 144, "loc": { "start": { "line": 7, "column": 18 }, "end": { "line": 7, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 144, "end": 145, "loc": { "start": { "line": 7, "column": 21 }, "end": { "line": 7, "column": 22 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 146, "end": 147, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 148, "end": 152, "loc": { "start": { "line": 7, "column": 25 }, "end": { "line": 7, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 152, "end": 153, "loc": { "start": { "line": 7, "column": 29 }, "end": { "line": 7, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PI", "start": 153, "end": 155, "loc": { "start": { "line": 7, "column": 30 }, "end": { "line": 7, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 155, "end": 156, "loc": { "start": { "line": 7, "column": 32 }, "end": { "line": 7, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 157, "end": 158, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * Converts radians to degress.\n * \n * @param {number} rad A number in radians.\n ", "start": 160, "end": 247, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 14, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 248, "end": 254, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 6 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 255, "end": 260, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "radToDeg", "start": 261, "end": 269, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 270, "end": 271, "loc": { "start": { "line": 15, "column": 22 }, "end": { "line": 15, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 272, "end": 273, "loc": { "start": { "line": 15, "column": 24 }, "end": { "line": 15, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rad", "start": 273, "end": 276, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 15, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 276, "end": 277, "loc": { "start": { "line": 15, "column": 28 }, "end": { "line": 15, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 278, "end": 280, "loc": { "start": { "line": 15, "column": 30 }, "end": { "line": 15, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 281, "end": 282, "loc": { "start": { "line": 15, "column": 33 }, "end": { "line": 15, "column": 34 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 287, "end": 293, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 294, "end": 295, "loc": { "start": { "line": 16, "column": 11 }, "end": { "line": 16, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rad", "start": 295, "end": 298, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 15 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 299, "end": 300, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 301, "end": 305, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 305, "end": 306, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PI", "start": 306, "end": 308, "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 16, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 308, "end": 309, "loc": { "start": { "line": 16, "column": 25 }, "end": { "line": 16, "column": 26 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 310, "end": 311, "loc": { "start": { "line": 16, "column": 27 }, "end": { "line": 16, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 180, "start": 312, "end": 315, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 315, "end": 316, "loc": { "start": { "line": 16, "column": 32 }, "end": { "line": 16, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 317, "end": 318, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 318, "end": 318, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 1 } } } ] }