UNPKG

skypager-project

Version:
2,068 lines (2,047 loc) 71.1 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.l = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // identity function for calling harmory imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ // define getter function for harmory exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ }; /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 129); /******/ }) /************************************************************************/ /******/ ({ /***/ 129: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(38); /***/ }, /***/ 38: /***/ function(module, exports) { module.exports = { "path": "/Users/jonathan/Skypager/packages/skypager-project/src/data-sources/packages.js", "ast": { "type": "File", "start": 0, "end": 370, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 19, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 370, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 19, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "Object" }, "property": { "type": "Identifier", "name": "defineProperty" }, "computed": false }, "arguments": [ { "type": "Identifier", "name": "exports" }, { "type": "StringLiteral", "extra": { "rawValue": "__esModule", "raw": "\"__esModule\"" }, "value": "__esModule" }, { "type": "ObjectExpression", "properties": [ { "type": "ObjectProperty", "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "name": "value" }, "value": { "type": "BooleanLiteral", "value": true } } ] } ] } }, { "type": "VariableDeclaration", "start": 7, "end": 345, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 16, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13, "end": 345, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 16, "column": 1 } }, "id": { "type": "Identifier", "start": 13, "end": 20, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 20 }, "identifierName": "request" }, "name": "request", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 13, "end": 20, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 20 }, "identifierName": "request" }, "name": "request", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 23, "end": 345, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 16, "column": 1 } }, "id": { "type": "Identifier", "start": 13, "end": 20, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 20 }, "identifierName": "request" }, "name": "request", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 55, "end": 345, "loc": { "start": { "line": 1, "column": 55 }, "end": { "line": 16, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 24, "end": 31, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 31 }, "identifierName": "options" }, "name": "options", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "value": 0, "trailingComments": [], "leadingComments": [], "innerComments": [] } }, "operator": "&&", "right": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 0, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "name": "undefined" } } }, "consequent": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 0, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "alternate": { "type": "ObjectExpression", "start": 34, "end": 36, "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 36 } }, "properties": [], "trailingComments": [], "leadingComments": [], "innerComments": [] } } } ], "kind": "var" }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 38, "end": 45, "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 45 }, "identifierName": "context" }, "name": "context", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "left": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "Identifier", "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] } }, "operator": "&&", "right": { "type": "BinaryExpression", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "name": "undefined" } } }, "consequent": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "arguments", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "property": { "type": "NumericLiteral", "value": 1, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": true }, "alternate": { "type": "ObjectExpression", "start": 48, "end": 50, "loc": { "start": { "line": 1, "column": 48 }, "end": { "line": 1, "column": 50 } }, "properties": [], "trailingComments": [], "leadingComments": [], "innerComments": [] } } } ], "kind": "var" }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 67, "end": 74, "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 17 }, "identifierName": "project" }, "name": "project" }, "init": { "type": "MemberExpression", "object": { "type": "Identifier", "start": 79, "end": 86, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 29 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 67, "end": 74, "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 17 }, "identifierName": "project" }, "name": "project" }, "computed": false } } ], "leadingComments": [], "trailingComments": [] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_options$pattern" }, "init": { "type": "MemberExpression", "object": { "type": "Identifier", "start": 153, "end": 160, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 13 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 101, "end": 108, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 11 }, "identifierName": "pattern" }, "name": "pattern" }, "computed": false } } ], "leadingComments": [] }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "start": 101, "end": 108, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 11 }, "identifierName": "pattern" }, "name": "pattern" }, "init": { "type": "ConditionalExpression", "test": { "type": "BinaryExpression", "operator": "===", "left": { "type": "Identifier", "name": "_options$pattern" }, "right": { "type": "Identifier", "name": "undefined" } }, "consequent": { "type": "StringLiteral", "start": 111, "end": 146, "loc": { "start": { "line": 4, "column": 14 }, "end": { "line": 4, "column": 49 } }, "extra": { "rawValue": ":packageFolder/:name/package.json", "raw": "':packageFolder/:name/package.json'" }, "value": ":packageFolder/:name/package.json" }, "alternate": { "type": "Identifier", "name": "_options$pattern" } } } ], "trailingComments": [] }, { "type": "VariableDeclaration", "start": 164, "end": 215, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 7, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 170, "end": 215, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 53 } }, "id": { "type": "Identifier", "start": 170, "end": 181, "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 19 }, "identifierName": "packageDocs" }, "name": "packageDocs" }, "init": { "type": "CallExpression", "start": 184, "end": 215, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 184, "end": 206, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 44 } }, "object": { "type": "Identifier", "start": 184, "end": 191, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 29 }, "identifierName": "project" }, "name": "project" }, "property": { "type": "Identifier", "start": 192, "end": 206, "loc": { "start": { "line": 7, "column": 30 }, "end": { "line": 7, "column": 44 }, "identifierName": "routeDocuments" }, "name": "routeDocuments" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 207, "end": 214, "loc": { "start": { "line": 7, "column": 45 }, "end": { "line": 7, "column": 52 }, "identifierName": "pattern" }, "name": "pattern" } ] } } ], "kind": "var" }, { "type": "ReturnStatement", "start": 219, "end": 343, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 15, "column": 4 } }, "argument": { "type": "CallExpression", "start": 226, "end": 343, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 15, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 226, "end": 241, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 24 } }, "object": { "type": "Identifier", "start": 226, "end": 237, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 }, "identifierName": "packageDocs" }, "name": "packageDocs" }, "property": { "type": "Identifier", "start": 238, "end": 241, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 24 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 242, "end": 342, "loc": { "start": { "line": 9, "column": 25 }, "end": { "line": 15, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 242, "end": 248, "loc": { "start": { "line": 9, "column": 25 }, "end": { "line": 9, "column": 31 }, "identifierName": "result" }, "name": "result" } ], "body": { "type": "BlockStatement", "start": 252, "end": 342, "loc": { "start": { "line": 9, "column": 35 }, "end": { "line": 15, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 258, "end": 319, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 12, "column": 5 } }, "test": { "type": "MemberExpression", "start": 262, "end": 274, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 20 } }, "object": { "type": "Identifier", "start": 262, "end": 269, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 15 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 270, "end": 274, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 20 }, "identifierName": "load" }, "name": "load" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 276, "end": 319, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 12, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 284, "end": 313, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 284, "end": 313, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 284, "end": 294, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 16 } }, "object": { "type": "Identifier", "start": 284, "end": 290, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 12 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "Identifier", "start": 291, "end": 294, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 16 }, "identifierName": "doc" }, "name": "doc" }, "computed": false }, "right": { "type": "MemberExpression", "start": 297, "end": 313, "loc": { "start": { "line": 11, "column": 19 }, "end": { "line": 11, "column": 35 } }, "object": { "type": "MemberExpression", "start": 297, "end": 307, "loc": { "start": { "line": 11, "column": 19 }, "end": { "line": 11, "column": 29 } }, "object": { "type": "Identifier", "start": 297, "end": 303, "loc": { "start": { "line": 11, "column": 19 }, "end": { "line": 11, "column": 25 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "Identifier", "start": 304, "end": 307, "loc": { "start": { "line": 11, "column": 26 }, "end": { "line": 11, "column": 29 }, "identifierName": "doc" }, "name": "doc" }, "computed": false }, "property": { "type": "Identifier", "start": 308, "end": 313, "loc": { "start": { "line": 11, "column": 30 }, "end": { "line": 11, "column": 35 }, "identifierName": "ready" }, "name": "ready" }, "computed": false } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 325, "end": 338, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 17 } }, "argument": { "type": "Identifier", "start": 332, "end": 338, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 17 }, "identifierName": "result" }, "name": "result" } } ], "directives": [] }, "shadow": true } ] } } ], "directives": [] }, "shadow": true }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "default", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "Identifier", "start": 362, "end": 369, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 22 }, "identifierName": "request" }, "name": "request", "trailingComments": [], "leadingComments": [], "innerComments": [] } }, "trailingComments": [], "leadingComments": [], "innerComments": [] } ], "directives": [ { "type": "Directive", "value": { "type": "DirectiveLiteral", "value": "use strict" } } ] }, "comments": [], "tokens": [ { "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": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "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": 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": "request", "start": 13, "end": 20, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21, "end": 22, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23, "end": 24, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 24, "end": 31, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 32, "end": 33, "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 34, "end": 35, "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35, "end": 36, "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 36, "end": 37, "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 38, "end": 45, "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 45 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 46, "end": 47, "loc": { "start": { "line": 1, "column": 46 }, "end": { "line": 1, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 48, "end": 49, "loc": { "start": { "line": 1, "column": 48 }, "end": { "line": 1, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 49, "end": 50, "loc": { "start": { "line": 1, "column": 49 }, "end": { "line": 1, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 50, "end": 51, "loc": { "start": { "line": 1, "column": 50 }, "end": { "line": 1, "column": 51 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52, "end": 54, "loc": { "start": { "line": 1, "column": 52 }, "end": { "line": 1, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 55, "end": 56, "loc": { "start": { "line": 1, "column": 55 }, "end": { "line": 1, "column": 56 } } }, { "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": 59, "end": 64, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 65, "end": 66, "loc": { "start": { "line": 2, "column": 8 }, "end": { "line": 2, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "project", "start": 67, "end": 74, "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 75, "end": 76, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 77, "end": 78, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 79, "end": 86, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 29 } } }, { "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": 89, "end": 94, "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 95, "end": 96, "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pattern", "start": 101, "end": 108, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 109, "end": 110, "loc": { "start": { "line": 4, "column": 12 }, "end": { "line": 4, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative":