UNPKG

@eastsideco/escshopify

Version:

WIP JS library for Shopify, containing a variety of useful functionality.

2,227 lines (2,226 loc) 73 kB
{ "type": "File", "start": 0, "end": 839, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 48, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 839, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 48, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 33, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 33 } }, "specifiers": [ { "type": "ImportNamespaceSpecifier", "start": 7, "end": 17, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 17 } }, "local": { "type": "Identifier", "start": 12, "end": 17, "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 17 }, "identifierName": "index" }, "name": "index" } } ], "source": { "type": "StringLiteral", "start": 23, "end": 32, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 32 } }, "extra": { "rawValue": "~/index", "raw": "'~/index'" }, "value": "~/index" } }, { "type": "ImportDeclaration", "start": 34, "end": 71, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 37 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 41, "end": 47, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 13 } }, "local": { "type": "Identifier", "start": 41, "end": 47, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 13 }, "identifierName": "_utils" }, "name": "_utils" } } ], "source": { "type": "StringLiteral", "start": 53, "end": 70, "loc": { "start": { "line": 2, "column": 19 }, "end": { "line": 2, "column": 36 } }, "extra": { "rawValue": "~/utils/general", "raw": "'~/utils/general'" }, "value": "~/utils/general" } }, { "type": "ImportDeclaration", "start": 72, "end": 113, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 41 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 79, "end": 88, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 16 } }, "local": { "type": "Identifier", "start": 79, "end": 88, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 16 }, "identifierName": "_entities" }, "name": "_entities" } } ], "source": { "type": "StringLiteral", "start": 94, "end": 112, "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 40 } }, "extra": { "rawValue": "~/entities/index", "raw": "'~/entities/index'" }, "value": "~/entities/index" } }, { "type": "ImportDeclaration", "start": 114, "end": 153, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 39 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 121, "end": 129, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 15 } }, "local": { "type": "Identifier", "start": 121, "end": 129, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 15 }, "identifierName": "_plugins" }, "name": "_plugins" } } ], "source": { "type": "StringLiteral", "start": 135, "end": 152, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 38 } }, "extra": { "rawValue": "~/plugins/index", "raw": "'~/plugins/index'" }, "value": "~/plugins/index" } }, { "type": "ImportDeclaration", "start": 155, "end": 182, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 27 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 162, "end": 165, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 10 } }, "local": { "type": "Identifier", "start": 162, "end": 165, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 10 }, "identifierName": "log" }, "name": "log" } } ], "source": { "type": "StringLiteral", "start": 171, "end": 181, "loc": { "start": { "line": 6, "column": 16 }, "end": { "line": 6, "column": 26 } }, "extra": { "rawValue": "~/log.js", "raw": "'~/log.js'" }, "value": "~/log.js" }, "trailingComments": [ { "type": "CommentBlock", "value": "* @ignore ", "start": 185, "end": 199, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 14 } } } ] }, { "type": "VariableDeclaration", "start": 200, "end": 224, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 206, "end": 223, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 23 } }, "id": { "type": "Identifier", "start": 206, "end": 209, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 9 }, "identifierName": "TAG" }, "name": "TAG", "leadingComments": null }, "init": { "type": "StringLiteral", "start": 212, "end": 223, "loc": { "start": { "line": 10, "column": 12 }, "end": { "line": 10, "column": 23 } }, "extra": { "rawValue": "Bootstrap", "raw": "'Bootstrap'" }, "value": "Bootstrap" }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentBlock", "value": "* @ignore ", "start": 185, "end": 199, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 14 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Plugins\n * @type {src/plugins/index.js~Plugins}\n ", "start": 228, "end": 286, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 17, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 287, "end": 317, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 30 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 294, "end": 317, "loc": { "start": { "line": 18, "column": 7 }, "end": { "line": 18, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 298, "end": 316, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 29 } }, "id": { "type": "Identifier", "start": 298, "end": 305, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 18 }, "identifierName": "plugins" }, "name": "plugins", "leadingComments": null }, "init": { "type": "Identifier", "start": 308, "end": 316, "loc": { "start": { "line": 18, "column": 21 }, "end": { "line": 18, "column": 29 }, "identifierName": "_plugins" }, "name": "_plugins" }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Plugins\n * @type {src/plugins/index.js~Plugins}\n ", "start": 228, "end": 286, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 17, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Entities\n * @type {src/entities/index.js~Entities}\n ", "start": 319, "end": 380, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 23, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Plugins\n * @type {src/plugins/index.js~Plugins}\n ", "start": 228, "end": 286, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 17, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Entities\n * @type {src/entities/index.js~Entities}\n ", "start": 319, "end": 380, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 23, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 381, "end": 413, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 32 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 388, "end": 413, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 392, "end": 412, "loc": { "start": { "line": 24, "column": 11 }, "end": { "line": 24, "column": 31 } }, "id": { "type": "Identifier", "start": 392, "end": 400, "loc": { "start": { "line": 24, "column": 11 }, "end": { "line": 24, "column": 19 }, "identifierName": "entities" }, "name": "entities", "leadingComments": null }, "init": { "type": "Identifier", "start": 403, "end": 412, "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 31 }, "identifierName": "_entities" }, "name": "_entities" }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Entities\n * @type {src/entities/index.js~Entities}\n ", "start": 319, "end": 380, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 23, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * General utilities\n * @type {src/utils/general.js~GeneralUtils}\n ", "start": 415, "end": 488, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 29, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Entities\n * @type {src/entities/index.js~Entities}\n ", "start": 319, "end": 380, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 23, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * General utilities\n * @type {src/utils/general.js~GeneralUtils}\n ", "start": 415, "end": 488, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 29, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 489, "end": 515, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 30, "column": 26 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 496, "end": 515, "loc": { "start": { "line": 30, "column": 7 }, "end": { "line": 30, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 500, "end": 514, "loc": { "start": { "line": 30, "column": 11 }, "end": { "line": 30, "column": 25 } }, "id": { "type": "Identifier", "start": 500, "end": 505, "loc": { "start": { "line": 30, "column": 11 }, "end": { "line": 30, "column": 16 }, "identifierName": "utils" }, "name": "utils", "leadingComments": null }, "init": { "type": "Identifier", "start": 508, "end": 514, "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 30, "column": 25 }, "identifierName": "_utils" }, "name": "_utils" }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * General utilities\n * @type {src/utils/general.js~GeneralUtils}\n ", "start": 415, "end": 488, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 29, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Main libary entry point.\n ", "start": 519, "end": 554, "loc": { "start": { "line": 34, "column": 0 }, "end": { "line": 36, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * General utilities\n * @type {src/utils/general.js~GeneralUtils}\n ", "start": 415, "end": 488, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 29, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Main libary entry point.\n ", "start": 519, "end": 554, "loc": { "start": { "line": 34, "column": 0 }, "end": { "line": 36, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 555, "end": 576, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 37, "column": 21 } }, "declaration": { "type": "Identifier", "start": 570, "end": 575, "loc": { "start": { "line": 37, "column": 15 }, "end": { "line": 37, "column": 20 }, "identifierName": "index" }, "name": "index", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Main libary entry point.\n ", "start": 519, "end": 554, "loc": { "start": { "line": 34, "column": 0 }, "end": { "line": 36, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Main libary entry point.\n ", "start": 519, "end": 554, "loc": { "start": { "line": 34, "column": 0 }, "end": { "line": 36, "column": 3 } } } ] }, { "type": "ExpressionStatement", "start": 579, "end": 620, "loc": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 41 } }, "expression": { "type": "CallExpression", "start": 579, "end": 619, "loc": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 579, "end": 587, "loc": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 8 } }, "object": { "type": "Identifier", "start": 579, "end": 582, "loc": { "start": { "line": 40, "column": 0 }, "end": { "line": 40, "column": 3 }, "identifierName": "log" }, "name": "log" }, "property": { "type": "Identifier", "start": 583, "end": 587, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 8 }, "identifierName": "send" }, "name": "send" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 588, "end": 597, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 18 } }, "object": { "type": "Identifier", "start": 588, "end": 591, "loc": { "start": { "line": 40, "column": 9 }, "end": { "line": 40, "column": 12 }, "identifierName": "log" }, "name": "log" }, "property": { "type": "Identifier", "start": 592, "end": 597, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 18 }, "identifierName": "DEBUG" }, "name": "DEBUG" }, "computed": false }, { "type": "Identifier", "start": 599, "end": 602, "loc": { "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 23 }, "identifierName": "TAG" }, "name": "TAG" }, { "type": "StringLiteral", "start": 604, "end": 618, "loc": { "start": { "line": 40, "column": 25 }, "end": { "line": 40, "column": 39 } }, "extra": { "rawValue": "Initialized.", "raw": "'Initialized.'" }, "value": "Initialized." } ] }, "trailingComments": [ { "type": "CommentLine", "value": " For docs", "start": 624, "end": 635, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 11 } } }, { "type": "CommentBlock", "value": "* @external {js-money} https://www.npmjs.com/package/js-money ", "start": 636, "end": 702, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 66 } } }, { "type": "CommentBlock", "value": "* @external {evee} https://www.npmjs.com/package/evee ", "start": 703, "end": 761, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 58 } } }, { "type": "CommentBlock", "value": "* @external {promise-queue} https://www.npmjs.com/package/promise-queue ", "start": 762, "end": 838, "loc": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 76 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "* @ignore ", "start": 185, "end": 199, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 14 } } }, { "type": "CommentBlock", "value": "*\n * Plugins\n * @type {src/plugins/index.js~Plugins}\n ", "start": 228, "end": 286, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 17, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Entities\n * @type {src/entities/index.js~Entities}\n ", "start": 319, "end": 380, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 23, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * General utilities\n * @type {src/utils/general.js~GeneralUtils}\n ", "start": 415, "end": 488, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 29, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Main libary entry point.\n ", "start": 519, "end": 554, "loc": { "start": { "line": 34, "column": 0 }, "end": { "line": 36, "column": 3 } } }, { "type": "CommentLine", "value": " For docs", "start": 624, "end": 635, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 11 } } }, { "type": "CommentBlock", "value": "* @external {js-money} https://www.npmjs.com/package/js-money ", "start": 636, "end": 702, "loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": 66 } } }, { "type": "CommentBlock", "value": "* @external {evee} https://www.npmjs.com/package/evee ", "start": 703, "end": 761, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 58 } } }, { "type": "CommentBlock", "value": "* @external {promise-queue} https://www.npmjs.com/package/promise-queue ", "start": 762, "end": 838, "loc": { "start": { "line": 47, "column": 0 }, "end": { "line": 47, "column": 76 } } } ], "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": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "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": "as", "start": 9, "end": 11, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 12, "end": 17, "loc": { "start": { "line": 1, "column": 12 }, "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": "from", "start": 18, "end": 22, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "~/index", "start": 23, "end": 32, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 32, "end": 33, "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 33 } } }, { "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": 34, "end": 40, "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": "_utils", "start": 41, "end": 47, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 48, "end": 52, "loc": { "start": { "line": 2, "column": 14 }, "end": { "line": 2, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "~/utils/general", "start": 53, "end": 70, "loc": { "start": { "line": 2, "column": 19 }, "end": { "line": 2, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 70, "end": 71, "loc": { "start": { "line": 2, "column": 36 }, "end": { "line": 2, "column": 37 } } }, { "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": 72, "end": 78, "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": "_entities", "start": 79, "end": 88, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 89, "end": 93, "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "~/entities/index", "start": 94, "end": 112, "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 112, "end": 113, "loc": { "start": { "line": 3, "column": 40 }, "end": { "line": 3, "column": 41 } } }, { "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": 114, "end": 120, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_plugins", "start": 121, "end": 129, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 130, "end": 134, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "~/plugins/index", "start": 135, "end": 152, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 152, "end": 153, "loc": { "start": { "line": 4, "column": 38 }, "end": { "line": 4, "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": 155, "end": 161, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 162, "end": 165, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 166, "end": 170, "loc": { "start": { "line": 6, "column": 11 }, "end": { "line": 6, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "~/log.js", "start": 171, "end": 181, "loc": { "start": { "line": 6, "column": 16 }, "end": { "line": 6, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 181, "end": 182, "loc": { "start": { "line": 6, "column": 26 }, "end": { "line": 6, "column": 27 } } }, { "type": "CommentBlock", "value": "* @ignore ", "start": 185, "end": 199, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 14 } } }, { "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": 200, "end": 205, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TAG", "start": 206, "end": 209, "loc": { "start": { "line": 10, "column": 6 }, "end": { "line": 10, "column": 9 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false,