UNPKG

skypager-project

Version:
2,125 lines (2,103 loc) 96.4 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 = 135); /******/ }) /************************************************************************/ /******/ ({ /***/ 135: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(44); /***/ }, /***/ 44: /***/ function(module, exports) { module.exports = { "path": "/Users/jonathan/Skypager/packages/skypager-project/src/document-types/spec.js", "ast": { "type": "File", "start": 0, "end": 535, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 29, "column": 2 } }, "program": { "type": "Program", "start": 0, "end": 535, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 29, "column": 2 } }, "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": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "markdown", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "javascript", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "name": "rules", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "Identifier", "name": "undefined", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_markdown" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "./markdown", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 58 } } }, { "type": "VariableDeclaration", "kind": "var", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_skypagerUtil" }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require" }, "arguments": [ { "type": "StringLiteral", "value": "skypager-util", "trailingComments": [], "leadingComments": [], "innerComments": [] } ] } } ], "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 40 } } }, { "type": "VariableDeclaration", "start": 108, "end": 158, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 6, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 114, "end": 158, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 6, "column": 1 } }, "id": { "type": "Identifier", "start": 114, "end": 119, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 4, "column": 18 }, "identifierName": "rules" }, "name": "rules", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 114, "end": 119, "loc": { "start": { "line": 4, "column": 13 }, "end": { "line": 4, "column": 18 }, "identifierName": "rules" }, "name": "rules", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "ArrayExpression", "start": 122, "end": 158, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 6, "column": 1 } }, "elements": [ { "type": "RegExpLiteral", "start": 126, "end": 156, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 32 } }, "extra": { "raw": "/.*\\.(test|spec).*\\.(md|js)$/i" }, "pattern": ".*\\.(test|spec).*\\.(md|js)$", "flags": "i" } ] }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "VariableDeclaration", "start": 167, "end": 278, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 10, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 173, "end": 278, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 10, "column": 1 } }, "id": { "type": "Identifier", "start": 173, "end": 185, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 25 }, "identifierName": "testDocument" }, "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 173, "end": 185, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 25 }, "identifierName": "testDocument" }, "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 188, "end": 278, "loc": { "start": { "line": 8, "column": 28 }, "end": { "line": 10, "column": 1 } }, "id": { "type": "Identifier", "start": 173, "end": 185, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 25 }, "identifierName": "testDocument" }, "name": "testDocument", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 189, "end": 192, "loc": { "start": { "line": 8, "column": 29 }, "end": { "line": 8, "column": 32 }, "identifierName": "doc" }, "name": "doc" } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "BinaryExpression", "start": 201, "end": 276, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 77 } }, "left": { "type": "UnaryExpression", "start": 201, "end": 260, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 61 } }, "operator": "typeof", "prefix": true, "argument": { "type": "CallExpression", "start": 208, "end": 260, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 208, "end": 218, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 19 } }, "object": { "type": "Identifier", "start": 208, "end": 213, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 14 }, "identifierName": "rules" }, "name": "rules" }, "property": { "type": "Identifier", "start": 214, "end": 218, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 19 }, "identifierName": "find" }, "name": "find" }, "computed": false }, "arguments": [ { "type": "FunctionExpression", "start": 219, "end": 259, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 60 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 219, "end": 223, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 24 }, "identifierName": "rule" }, "name": "rule" } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "CallExpression", "start": 227, "end": 259, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 60 } }, "callee": { "type": "SequenceExpression", "expressions": [ { "type": "NumericLiteral", "value": 0 }, { "type": "MemberExpression", "object": { "type": "Identifier", "name": "_skypagerUtil" }, "property": { "type": "Identifier", "start": 68, "end": 76, "name": "testRule" }, "computed": false } ], "trailingComments": [], "leadingComments": [], "innerComments": [] }, "arguments": [ { "type": "Identifier", "start": 236, "end": 240, "loc": { "start": { "line": 9, "column": 37 }, "end": { "line": 9, "column": 41 }, "identifierName": "rule" }, "name": "rule" }, { "type": "MemberExpression", "start": 242, "end": 258, "loc": { "start": { "line": 9, "column": 43 }, "end": { "line": 9, "column": 59 } }, "object": { "type": "Identifier", "start": 242, "end": 245, "loc": { "start": { "line": 9, "column": 43 }, "end": { "line": 9, "column": 46 }, "identifierName": "doc" }, "name": "doc" }, "property": { "type": "Identifier", "start": 246, "end": 258, "loc": { "start": { "line": 9, "column": 47 }, "end": { "line": 9, "column": 59 }, "identifierName": "fileBaseName" }, "name": "fileBaseName" }, "computed": false } ] } } ], "directives": [] }, "shadow": true } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 265, "end": 276, "loc": { "start": { "line": 9, "column": 66 }, "end": { "line": 9, "column": 77 } }, "extra": { "rawValue": "undefined", "raw": "'undefined'" }, "value": "undefined" }, "extra": { "parenthesized": true, "parenStart": 197 } } } ], "directives": [] }, "shadow": true }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "VariableDeclaration", "start": 287, "end": 439, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 22, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 293, "end": 439, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 22, "column": 1 } }, "id": { "type": "Identifier", "start": 293, "end": 301, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 293, "end": 301, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 304, "end": 439, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 22, "column": 1 } }, "id": { "type": "Identifier", "start": 293, "end": 301, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 21 }, "identifierName": "decorate" }, "name": "decorate", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 305, "end": 308, "loc": { "start": { "line": 12, "column": 25 }, "end": { "line": 12, "column": 28 }, "identifierName": "doc" }, "name": "doc" } ], "body": { "type": "BlockStatement", "start": 313, "end": 439, "loc": { "start": { "line": 12, "column": 33 }, "end": { "line": 22, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 317, "end": 370, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 15, "column": 3 } }, "test": { "type": "MemberExpression", "start": 321, "end": 337, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 22 } }, "object": { "type": "Identifier", "start": 321, "end": 324, "loc": { "start": { "line": 13, "column": 6 }, "end": { "line": 13, "column": 9 }, "identifierName": "doc" }, "name": "doc" }, "property": { "type": "Identifier", "start": 325, "end": 337, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 22 }, "identifierName": "isJavascript" }, "name": "isJavascript" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 339, "end": 370, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 15, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 345, "end": 366, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 345, "end": 366, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 345, "end": 348, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 7 }, "identifierName": "doc" }, "name": "doc" }, "right": { "type": "CallExpression", "start": 351, "end": 366, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 25 } }, "callee": { "type": "Identifier", "start": 351, "end": 361, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 20 }, "identifierName": "javascript" }, "name": "javascript" }, "arguments": [ { "type": "Identifier", "start": 362, "end": 365, "loc": { "start": { "line": 14, "column": 21 }, "end": { "line": 14, "column": 24 }, "identifierName": "doc" }, "name": "doc" } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 374, "end": 423, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 19, "column": 3 } }, "test": { "type": "MemberExpression", "start": 378, "end": 392, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 20 } }, "object": { "type": "Identifier", "start": 378, "end": 381, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 9 }, "identifierName": "doc" }, "name": "doc" }, "property": { "type": "Identifier", "start": 382, "end": 392, "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 20 }, "identifierName": "isMarkdown" }, "name": "isMarkdown" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 394, "end": 423, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 19, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 400, "end": 419, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 400, "end": 419, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 23 } }, "operator": "=", "left": { "type": "Identifier", "start": 400, "end": 403, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 7 }, "identifierName": "doc" }, "name": "doc" }, "right": { "type": "CallExpression", "start": 406, "end": 419, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 23 } }, "callee": { "type": "Identifier", "start": 406, "end": 414, "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 18 }, "identifierName": "markdown" }, "name": "markdown" }, "arguments": [ { "type": "Identifier", "start": 415, "end": 418, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 22 }, "identifierName": "doc" }, "name": "doc" } ] } } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 427, "end": 437, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 12 } }, "argument": { "type": "Identifier", "start": 434, "end": 437, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 12 }, "identifierName": "doc" }, "name": "doc" } } ], "directives": [] }, "shadow": true }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "VariableDeclaration", "start": 451, "end": 482, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 25, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 457, "end": 482, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 38 } }, "id": { "type": "Identifier", "start": 457, "end": 467, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 23 }, "identifierName": "javascript" }, "name": "javascript", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 457, "end": 467, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 23 }, "identifierName": "javascript" }, "name": "javascript", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 470, "end": 482, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 38 } }, "id": { "type": "Identifier", "start": 457, "end": 467, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 23 }, "identifierName": "javascript" }, "name": "javascript", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 471, "end": 474, "loc": { "start": { "line": 25, "column": 27 }, "end": { "line": 25, "column": 30 }, "identifierName": "doc" }, "name": "doc" } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "Identifier", "start": 479, "end": 482, "loc": { "start": { "line": 25, "column": 35 }, "end": { "line": 25, "column": 38 }, "identifierName": "doc" }, "name": "doc" } } ], "directives": [] }, "shadow": true }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] }, { "type": "VariableDeclaration", "start": 492, "end": 534, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 29, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 498, "end": 534, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 29, "column": 1 } }, "id": { "type": "Identifier", "start": 498, "end": 506, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 21 }, "identifierName": "markdown" }, "name": "markdown", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "init": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Identifier", "name": "exports" }, "property": { "type": "Identifier", "start": 498, "end": 506, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 21 }, "identifierName": "markdown" }, "name": "markdown", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "computed": false }, "right": { "type": "FunctionExpression", "start": 509, "end": 534, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 29, "column": 1 } }, "id": { "type": "Identifier", "start": 498, "end": 506, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 21 }, "identifierName": "markdown" }, "name": "markdown", "trailingComments": [], "leadingComments": [], "innerComments": [] }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 510, "end": 513, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 28 }, "identifierName": "doc" }, "name": "doc" } ], "body": { "type": "BlockStatement", "start": 518, "end": 534, "loc": { "start": { "line": 27, "column": 33 }, "end": { "line": 29, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 522, "end": 532, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 12 } }, "argument": { "type": "Identifier", "start": 529, "end": 532, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 12 }, "identifierName": "doc" }, "name": "doc" } } ], "directives": [] }, "shadow": true }, "trailingComments": [], "leadingComments": [], "innerComments": [] } } ], "kind": "var", "trailingComments": [], "leadingComments": [], "innerComments": [] } ], "directives": [ { "type": "Directive", "value": { "type": "DirectiveLiteral", "value": "use strict" } } ] }, "comments": [], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": false, "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": "decorate", "start": 9, "end": 17, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "as", "start": 18, "end": 20, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "markdownDecorator", "start": 21, "end": 38, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 39, "end": 40, "loc": { "start": { "line": 1, "column": 39 }, "end": { "line": 1, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 41, "end": 45, "loc": { "start": { "line": 1, "column": 41 }, "end": { "line": 1, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./markdown", "start": 46, "end": 58, "loc": { "start": { "line": 1, "column": 46 }, "end": { "line": 1, "column": 58 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 59, "end": 65, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false,