skypager-project
Version:
skypager project framework
2,462 lines (2,441 loc) • 51.4 kB
JavaScript
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 = 130);
/******/ })
/************************************************************************/
/******/ ({
/***/ 130:
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(39);
/***/ },
/***/ 39:
/***/ function(module, exports) {
module.exports = {
"path": "/Users/jonathan/Skypager/packages/skypager-project/src/document-types/babel-es6.js",
"ast": {
"type": "File",
"start": 0,
"end": 270,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 14,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 270,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 14,
"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": "ExpressionStatement",
"expression": {
"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": []
}
}
},
{
"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": 1,
"column": 0
},
"end": {
"line": 1,
"column": 40
}
}
},
{
"type": "VariableDeclaration",
"start": 49,
"end": 86,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 5,
"column": 1
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 55,
"end": 86,
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 5,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 55,
"end": 60,
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"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": 55,
"end": 60,
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"column": 18
},
"identifierName": "rules"
},
"name": "rules",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 63,
"end": 86,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 5,
"column": 1
}
},
"elements": [
{
"type": "RegExpLiteral",
"start": 67,
"end": 84,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 19
}
},
"extra": {
"raw": "/\\.(js|es6|jsx)$/"
},
"pattern": "\\.(js|es6|jsx)$",
"flags": ""
}
]
},
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
],
"kind": "var",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
{
"type": "VariableDeclaration",
"start": 95,
"end": 206,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 9,
"column": 1
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 101,
"end": 206,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 9,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 101,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"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": 101,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 25
},
"identifierName": "testDocument"
},
"name": "testDocument",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": false
},
"right": {
"type": "FunctionExpression",
"start": 116,
"end": 206,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 9,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 101,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 25
},
"identifierName": "testDocument"
},
"name": "testDocument",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 117,
"end": 120,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 32
},
"identifierName": "doc"
},
"name": "doc"
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "BinaryExpression",
"start": 129,
"end": 204,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 77
}
},
"left": {
"type": "UnaryExpression",
"start": 129,
"end": 188,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 61
}
},
"operator": "typeof",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 136,
"end": 188,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 136,
"end": 146,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 136,
"end": 141,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 14
},
"identifierName": "rules"
},
"name": "rules"
},
"property": {
"type": "Identifier",
"start": 142,
"end": 146,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 19
},
"identifierName": "find"
},
"name": "find"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 147,
"end": 187,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 60
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 147,
"end": 151,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 24
},
"identifierName": "rule"
},
"name": "rule"
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "CallExpression",
"start": 155,
"end": 187,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 60
}
},
"callee": {
"type": "SequenceExpression",
"expressions": [
{
"type": "NumericLiteral",
"value": 0
},
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_skypagerUtil"
},
"property": {
"type": "Identifier",
"start": 9,
"end": 17,
"name": "testRule"
},
"computed": false
}
],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"arguments": [
{
"type": "Identifier",
"start": 164,
"end": 168,
"loc": {
"start": {
"line": 8,
"column": 37
},
"end": {
"line": 8,
"column": 41
},
"identifierName": "rule"
},
"name": "rule"
},
{
"type": "MemberExpression",
"start": 170,
"end": 186,
"loc": {
"start": {
"line": 8,
"column": 43
},
"end": {
"line": 8,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 170,
"end": 173,
"loc": {
"start": {
"line": 8,
"column": 43
},
"end": {
"line": 8,
"column": 46
},
"identifierName": "doc"
},
"name": "doc"
},
"property": {
"type": "Identifier",
"start": 174,
"end": 186,
"loc": {
"start": {
"line": 8,
"column": 47
},
"end": {
"line": 8,
"column": 59
},
"identifierName": "fileBaseName"
},
"name": "fileBaseName"
},
"computed": false
}
]
}
}
],
"directives": []
},
"shadow": true
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 193,
"end": 204,
"loc": {
"start": {
"line": 8,
"column": 66
},
"end": {
"line": 8,
"column": 77
}
},
"extra": {
"rawValue": "undefined",
"raw": "'undefined'"
},
"value": "undefined"
},
"extra": {
"parenthesized": true,
"parenStart": 125
}
}
}
],
"directives": []
},
"shadow": true
},
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
],
"kind": "var",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
{
"type": "VariableDeclaration",
"start": 215,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 221,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 221,
"end": 229,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"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": 221,
"end": 229,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 21
},
"identifierName": "decorate"
},
"name": "decorate",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": false
},
"right": {
"type": "FunctionExpression",
"start": 232,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 221,
"end": 229,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 21
},
"identifierName": "decorate"
},
"name": "decorate",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 233,
"end": 236,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 28
},
"identifierName": "doc"
},
"name": "doc"
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "Identifier",
"start": 241,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 33
},
"end": {
"line": 11,
"column": 36
},
"identifierName": "doc"
},
"name": "doc"
}
}
],
"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": 261,
"end": 269,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 23
},
"identifierName": "decorate"
},
"name": "decorate",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
},
"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": "testRule",
"start": 9,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 18,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 20,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "skypager-util",
"start": 25,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 40
}
}
},
{
"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": 42,
"end": 48,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"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": 49,
"end": 54,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rules",
"start": 55,
"end": 60,
"loc": {
"start": {
"line": 3,
"column": 13
},
"end": {
"line": 3,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 61,
"end": 62,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 20
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 63,
"end": 64,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 22
}
}
},
{
"type": {
"label": "regexp",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": {
"pattern": "\\.(js|es6|jsx)$",
"flags": ""
},
"start": 67,
"end": 84,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 85,
"end": 86,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 88,
"end": 94,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 95,
"end": 100,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "testDocument",
"start": 101,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 114,
"end": 115,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 116,
"end": 117,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doc",
"start": 117,
"end": 120,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 120,
"end": 121,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 33
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 122,
"end": 124,
"loc": {
"start": {
"line": 7,
"column": 34
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 38
}
}
},
{
"type": {
"label": "typeof",
"keyword": "typeof",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "typeof",
"start": 129,
"end": 135,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rules",
"start": 136,
"end": 141,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "find",
"start": 142,
"end": 146,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 146,
"end": 147,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rule",
"start": 147,
"end": 151,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 24
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 152,
"end": 154,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "testRule",
"start": 155,
"end": 163,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 8,
"column": 36
},
"end": {
"line": 8,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rule",
"start": 164,
"end": 168,
"loc": {
"start": {
"line": 8,
"column": 37
},
"end": {
"line": 8,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 168,
"end": 169,
"loc": {
"start": {
"line": 8,
"column": 41
},
"end": {
"line": 8,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doc",
"start": 170,
"end": 173,
"loc": {
"start": {
"line": 8,
"column": 43
},
"end": {
"line": 8,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 173,
"end": 174,
"loc": {
"start": {
"line": 8,
"column": 46
},
"end": {
"line": 8,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fileBaseName",
"start": 174,
"end": 186,
"loc": {
"start": {
"line": 8,
"column": 47
},
"end": {
"line": 8,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 8,
"column": 59
},
"end": {
"line": 8,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 187,
"end": 188,
"loc": {
"start": {
"line": 8,
"column": 60
},
"end": {
"line": 8,
"column": 61
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 189,
"end": 192,
"loc": {
"start": {
"line": 8,
"column": 62
},
"end": {
"line": 8,
"column": 65
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "undefined",
"start": 193,
"end": 204,
"loc": {
"start": {
"line": 8,
"column": 66
},
"end": {
"line": 8,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 205,
"end": 206,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 1
}
}
},
{
"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": 208,
"end": 214,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"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": 215,
"end": 220,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decorate",
"start": 221,
"end": 229,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 230,
"end": 231,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 232,
"end": 233,
"loc": {
"start": {
"line": 11,
"column": 24
},
"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": "doc",
"start": 233,
"end": 236,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 236,
"end": 237,
"loc": {
"start": {
"line": 11,
"column": 28
},
"end": {
"line": 11,
"column": 29
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 238,
"end": 240,
"loc": {
"start": {
"line": 11,
"column": 30
},
"end": {
"line": 11,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doc",
"start": 241,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 33
},
"end": {
"line": 11,
"column": 36
}
}
},
{
"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": 246,
"end": 252,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"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": 253,
"end": 260,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value":