UNPKG

mongoose-data-seed

Version:

Seed mongodb with data using mongoose models

2,167 lines 48.9 kB
{ "type": "File", "start": 0, "end": 375, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 17, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 375, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 17, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 39, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 39 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 19, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 19 } }, "imported": { "type": "Identifier", "start": 9, "end": 19, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 19 }, "identifierName": "getOptions" }, "name": "getOptions" }, "local": { "type": "Identifier", "start": 9, "end": 19, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 19 }, "identifierName": "getOptions" }, "name": "getOptions" } } ], "source": { "type": "StringLiteral", "start": 27, "end": 38, "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 38 } }, "extra": { "rawValue": "./options", "raw": "'./options'" }, "value": "./options" } }, { "type": "ImportDeclaration", "start": 40, "end": 66, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 26 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 47, "end": 51, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 11 } }, "local": { "type": "Identifier", "start": 47, "end": 51, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 11 }, "identifierName": "help" }, "name": "help" } } ], "source": { "type": "StringLiteral", "start": 57, "end": 65, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 25 } }, "extra": { "rawValue": "./help", "raw": "'./help'" }, "value": "./help" } }, { "type": "ImportDeclaration", "start": 67, "end": 110, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 43 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 74, "end": 86, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 19 } }, "local": { "type": "Identifier", "start": 74, "end": 86, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 19 }, "identifierName": "runInstaller" }, "name": "runInstaller" } } ], "source": { "type": "StringLiteral", "start": 92, "end": 109, "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 42 } }, "extra": { "rawValue": "./run-installer", "raw": "'./run-installer'" }, "value": "./run-installer" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * mongoose-data-seed init command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ", "start": 112, "end": 218, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 9, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 219, "end": 374, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 16, "column": 2 } }, "declaration": { "type": "ArrowFunctionExpression", "start": 234, "end": 373, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 16, "column": 1 } }, "id": null, "generator": false, "expression": false, "async": true, "params": [ { "type": "Identifier", "start": 240, "end": 244, "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 25 }, "identifierName": "argv" }, "name": "argv" } ], "body": { "type": "BlockStatement", "start": 248, "end": 373, "loc": { "start": { "line": 10, "column": 29 }, "end": { "line": 16, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 252, "end": 304, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 258, "end": 303, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 53 } }, "id": { "type": "ObjectPattern", "start": 258, "end": 284, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 34 } }, "properties": [ { "type": "ObjectProperty", "start": 260, "end": 270, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 20 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 260, "end": 270, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 20 }, "identifierName": "helpWanted" }, "name": "helpWanted" }, "value": { "type": "Identifier", "start": 260, "end": 270, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 20 }, "identifierName": "helpWanted" }, "name": "helpWanted" }, "extra": { "shorthand": true } }, { "type": "RestProperty", "start": 272, "end": 282, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 32 } }, "argument": { "type": "Identifier", "start": 275, "end": 282, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 32 }, "identifierName": "options" }, "name": "options" } } ] }, "init": { "type": "CallExpression", "start": 287, "end": 303, "loc": { "start": { "line": 11, "column": 37 }, "end": { "line": 11, "column": 53 } }, "callee": { "type": "Identifier", "start": 287, "end": 297, "loc": { "start": { "line": 11, "column": 37 }, "end": { "line": 11, "column": 47 }, "identifierName": "getOptions" }, "name": "getOptions" }, "arguments": [ { "type": "Identifier", "start": 298, "end": 302, "loc": { "start": { "line": 11, "column": 48 }, "end": { "line": 11, "column": 52 }, "identifierName": "argv" }, "name": "argv" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 308, "end": 338, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 32 } }, "test": { "type": "Identifier", "start": 312, "end": 322, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 16 }, "identifierName": "helpWanted" }, "name": "helpWanted" }, "consequent": { "type": "ReturnStatement", "start": 324, "end": 338, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 32 } }, "argument": { "type": "CallExpression", "start": 331, "end": 337, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 31 } }, "callee": { "type": "Identifier", "start": 331, "end": 335, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 29 }, "identifierName": "help" }, "name": "help" }, "arguments": [] } }, "alternate": null }, { "type": "ReturnStatement", "start": 342, "end": 371, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 31 } }, "argument": { "type": "CallExpression", "start": 349, "end": 370, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 30 } }, "callee": { "type": "Identifier", "start": 349, "end": 361, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 21 }, "identifierName": "runInstaller" }, "name": "runInstaller" }, "arguments": [ { "type": "Identifier", "start": 362, "end": 369, "loc": { "start": { "line": 15, "column": 22 }, "end": { "line": 15, "column": 29 }, "identifierName": "options" }, "name": "options" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * mongoose-data-seed init command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ", "start": 112, "end": 218, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 9, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * mongoose-data-seed init command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ", "start": 112, "end": 218, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 9, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * mongoose-data-seed init command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ", "start": 112, "end": 218, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 9, "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": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getOptions", "start": 9, "end": 19, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20, "end": 21, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 22, "end": 26, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./options", "start": 27, "end": 38, "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 38, "end": 39, "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 39 } } }, { "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": 40, "end": 46, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "help", "start": 47, "end": 51, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 52, "end": 56, "loc": { "start": { "line": 2, "column": 12 }, "end": { "line": 2, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./help", "start": 57, "end": 65, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 65, "end": 66, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 26 } } }, { "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": 67, "end": 73, "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": "runInstaller", "start": 74, "end": 86, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 87, "end": 91, "loc": { "start": { "line": 3, "column": 20 }, "end": { "line": 3, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./run-installer", "start": 92, "end": 109, "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 109, "end": 110, "loc": { "start": { "line": 3, "column": 42 }, "end": { "line": 3, "column": 43 } } }, { "type": "CommentBlock", "value": "*\n * mongoose-data-seed init command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ", "start": 112, "end": 218, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 9, "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": 219, "end": 225, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "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": 226, "end": 233, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "async", "start": 234, "end": 239, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "argv", "start": 240, "end": 244, "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 25 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 245, "end": 247, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 248, "end": 249, "loc": { "start": { "line": 10, "column": 29 }, "end": { "line": 10, "column": 30 } } }, { "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": 252, "end": 257, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 258, "end": 259, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "helpWanted", "start": 260, "end": 270, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 270, "end": 271, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 21 } } }, { "type": { "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 272, "end": 275, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 275, "end": 282, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 283, "end": 284, "loc": { "start": { "line": 11, "column": 33 }, "end": { "line": 11, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 285, "end": 286, "loc": { "start": { "line": 11, "column": 35 }, "end": { "line": 11, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getOptions", "start": 287, "end": 297, "loc": { "start": { "line": 11, "column": 37 }, "end": { "line": 11, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 297, "end": 298, "loc": { "start": { "line": 11, "column": 47 }, "end": { "line": 11, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "argv", "start": 298, "end": 302, "loc": { "start": { "line": 11, "column": 48 }, "end": { "line": 11, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 302, "end": 303, "loc": { "start": { "line": 11, "column": 52 }, "end": { "line": 11, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 303, "end": 304, "loc": { "start": { "line": 11, "column": 53 }, "end": { "line": 11, "column": 54 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 308, "end": 310, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 311, "end": 312, "loc": { "start": { "line": 13, "column": 5 }, "end": { "line": 13, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "helpWanted", "start": 312, "end": 322, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 322, "end": 323, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 17 } } }, { "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": 324, "end": 330, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "help", "start": 331, "end": 335, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 335, "end": 336, "loc": { "start": { "line": 13, "column": 29 }, "end": { "line": 13, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 336, "end": 337, "loc": { "start": { "line": 13, "column": 30 }, "end": { "line": 13, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 337, "end": 338, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 32 } } }, { "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": 342, "end": 348, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "runInstaller", "start": 349, "end": 361, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 361, "end": 362, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 15, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 362, "end": 369, "loc": { "start": { "line": 15, "column": 22 }, "end": { "line": 15, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 369, "end": 370, "loc": { "start": { "line": 15, "column": 29 }, "end": { "line": 15, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 370, "end": 371, "loc": { "start": { "line": 15, "column": 30 }, "end": { "line": 15, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 372, "end": 373, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 373, "end": 374, "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 16, "column": 2 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 375, "end": 375, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 0 } } } ] }