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,967 lines 59 kB
{ "type": "File", "start": 0, "end": 554, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 16, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 554, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 16, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 28, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 28 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 } }, "local": { "type": "Identifier", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 }, "identifierName": "Scene" }, "name": "Scene" } } ], "source": { "type": "StringLiteral", "start": 18, "end": 27, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 27 } }, "extra": { "rawValue": "./Scene", "raw": "'./Scene'" }, "value": "./Scene" } }, { "type": "ImportDeclaration", "start": 29, "end": 65, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 36 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 38, "end": 46, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } }, "imported": { "type": "Identifier", "start": 38, "end": 46, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "Viewport" }, "name": "Viewport" }, "local": { "type": "Identifier", "start": 38, "end": 46, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "Viewport" }, "name": "Viewport" } } ], "source": { "type": "StringLiteral", "start": 54, "end": 64, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 35 } }, "extra": { "rawValue": "../entry", "raw": "'../entry'" }, "value": "../entry" } }, { "type": "ImportDeclaration", "start": 66, "end": 113, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 47 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 73, "end": 83, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 } }, "local": { "type": "Identifier", "start": 73, "end": 83, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 }, "identifierName": "DOMManager" }, "name": "DOMManager" } } ], "source": { "type": "StringLiteral", "start": 89, "end": 112, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 46 } }, "extra": { "rawValue": "../manager/DOMManager", "raw": "'../manager/DOMManager'" }, "value": "../manager/DOMManager" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * A basic representation of a working scene. Scenes need a viewport to give Renderable\n * components a place to be viewed by the RenderManager.\n * \n * This scene only contains one viewport which takes up the size of the canvas element.\n ", "start": 115, "end": 359, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 360, "end": 554, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 16, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 375, "end": 554, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 16, "column": 1 } }, "id": { "type": "Identifier", "start": 381, "end": 391, "loc": { "start": { "line": 11, "column": 21 }, "end": { "line": 11, "column": 31 }, "identifierName": "BasicScene" }, "name": "BasicScene", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 400, "end": 405, "loc": { "start": { "line": 11, "column": 40 }, "end": { "line": 11, "column": 45 }, "identifierName": "Scene" }, "name": "Scene" }, "body": { "type": "ClassBody", "start": 406, "end": 554, "loc": { "start": { "line": 11, "column": 46 }, "end": { "line": 16, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 412, "end": 552, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 15, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 412, "end": 423, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 426, "end": 552, "loc": { "start": { "line": 12, "column": 18 }, "end": { "line": 15, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 436, "end": 444, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 16 } }, "expression": { "type": "CallExpression", "start": 436, "end": 443, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 15 } }, "callee": { "type": "Super", "start": 436, "end": 441, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 13 } } }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 453, "end": 546, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 101 } }, "expression": { "type": "CallExpression", "start": 453, "end": 545, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 453, "end": 474, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 29 } }, "object": { "type": "ThisExpression", "start": 453, "end": 457, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 12 } } }, "property": { "type": "Identifier", "start": 458, "end": 474, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 29 }, "identifierName": "registerViewport" }, "name": "registerViewport" }, "computed": false }, "arguments": [ { "type": "NewExpression", "start": 475, "end": 544, "loc": { "start": { "line": 14, "column": 30 }, "end": { "line": 14, "column": 99 } }, "callee": { "type": "Identifier", "start": 479, "end": 487, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 42 }, "identifierName": "Viewport" }, "name": "Viewport" }, "arguments": [ { "type": "NumericLiteral", "start": 488, "end": 489, "loc": { "start": { "line": 14, "column": 43 }, "end": { "line": 14, "column": 44 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 491, "end": 492, "loc": { "start": { "line": 14, "column": 46 }, "end": { "line": 14, "column": 47 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "MemberExpression", "start": 494, "end": 517, "loc": { "start": { "line": 14, "column": 49 }, "end": { "line": 14, "column": 72 } }, "object": { "type": "MemberExpression", "start": 494, "end": 511, "loc": { "start": { "line": 14, "column": 49 }, "end": { "line": 14, "column": 66 } }, "object": { "type": "Identifier", "start": 494, "end": 504, "loc": { "start": { "line": 14, "column": 49 }, "end": { "line": 14, "column": 59 }, "identifierName": "DOMManager" }, "name": "DOMManager" }, "property": { "type": "Identifier", "start": 505, "end": 511, "loc": { "start": { "line": 14, "column": 60 }, "end": { "line": 14, "column": 66 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 512, "end": 517, "loc": { "start": { "line": 14, "column": 67 }, "end": { "line": 14, "column": 72 }, "identifierName": "width" }, "name": "width" }, "computed": false }, { "type": "MemberExpression", "start": 519, "end": 543, "loc": { "start": { "line": 14, "column": 74 }, "end": { "line": 14, "column": 98 } }, "object": { "type": "MemberExpression", "start": 519, "end": 536, "loc": { "start": { "line": 14, "column": 74 }, "end": { "line": 14, "column": 91 } }, "object": { "type": "Identifier", "start": 519, "end": 529, "loc": { "start": { "line": 14, "column": 74 }, "end": { "line": 14, "column": 84 }, "identifierName": "DOMManager" }, "name": "DOMManager" }, "property": { "type": "Identifier", "start": 530, "end": 536, "loc": { "start": { "line": 14, "column": 85 }, "end": { "line": 14, "column": 91 }, "identifierName": "canvas" }, "name": "canvas" }, "computed": false }, "property": { "type": "Identifier", "start": 537, "end": 543, "loc": { "start": { "line": 14, "column": 92 }, "end": { "line": 14, "column": 98 }, "identifierName": "height" }, "name": "height" }, "computed": false } ] } ] } } ], "directives": [] } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A basic representation of a working scene. Scenes need a viewport to give Renderable\n * components a place to be viewed by the RenderManager.\n * \n * This scene only contains one viewport which takes up the size of the canvas element.\n ", "start": 115, "end": 359, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A basic representation of a working scene. Scenes need a viewport to give Renderable\n * components a place to be viewed by the RenderManager.\n * \n * This scene only contains one viewport which takes up the size of the canvas element.\n ", "start": 115, "end": 359, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * A basic representation of a working scene. Scenes need a viewport to give Renderable\n * components a place to be viewed by the RenderManager.\n * \n * This scene only contains one viewport which takes up the size of the canvas element.\n ", "start": 115, "end": 359, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "column": 3 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Scene", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 13, "end": 17, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Scene", "start": 18, "end": 27, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 27, "end": 28, "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 29, "end": 35, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 36, "end": 37, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Viewport", "start": 38, "end": 46, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 47, "end": 48, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 49, "end": 53, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../entry", "start": 54, "end": 64, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 64, "end": 65, "loc": { "start": { "line": 2, "column": 35 }, "end": { "line": 2, "column": 36 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 66, "end": 72, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DOMManager", "start": 73, "end": 83, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 84, "end": 88, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../manager/DOMManager", "start": 89, "end": 112, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 112, "end": 113, "loc": { "start": { "line": 3, "column": 46 }, "end": { "line": 3, "column": 47 } } }, { "type": "CommentBlock", "value": "*\n * A basic representation of a working scene. Scenes need a viewport to give Renderable\n * components a place to be viewed by the RenderManager.\n * \n * This scene only contains one viewport which takes up the size of the canvas element.\n ", "start": 115, "end": 359, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 10, "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": 360, "end": 366, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 367, "end": 374, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 14 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 375, "end": 380, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BasicScene", "start": 381, "end": 391, "loc": { "start": { "line": 11, "column": 21 }, "end": { "line": 11, "column": 31 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 392, "end": 399, "loc": { "start": { "line": 11, "column": 32 }, "end": { "line": 11, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Scene", "start": 400, "end": 405, "loc": { "start": { "line": 11, "column": 40 }, "end": { "line": 11, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 406, "end": 407, "loc": { "start": { "line": 11, "column": 46 }, "end": { "line": 11, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 412, "end": 423, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 423, "end": 424, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 424, "end": 425, "loc": { "start": { "line": 12, "column": 16 }, "end": { "line": 12, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 426, "end": 427, "loc": { "start": { "line": 12, "column": 18 }, "end": { "line": 12, "column": 19 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 436, "end": 441, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 441, "end": 442, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 442, "end": 443, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 443, "end": 444, "loc": { "start": { "line": 13, "column": 15 }, "end": { "line": 13, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 453, "end": 457, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 457, "end": 458, "loc": { "start": { "line": 14, "column": 12 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerViewport", "start": 458, "end": 474, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 474, "end": 475, "loc": { "start": { "line": 14, "column": 29 }, "end": { "line": 14, "column": 30 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 475, "end": 478, "loc": { "start": { "line": 14, "column": 30 }, "end": { "line": 14, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Viewport", "start": 479, "end": 487, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 487, "end": 488, "loc": { "start": { "line": 14, "column": 42 }, "end": { "line": 14, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 488, "end": 489, "loc": { "start": { "line": 14, "column": 43 }, "end": { "line": 14, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 489, "end": 490, "loc": { "start": { "line": 14, "column": 44 }, "end": { "line": 14, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 491, "end": 492, "loc": { "start": { "line": 14, "column": 46 }, "end": { "line": 14, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop