@eastsideco/escshopify
Version:
WIP JS library for Shopify, containing a variety of useful functionality.
1,991 lines • 53 kB
JSON
{
"type": "File",
"start": 0,
"end": 295,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 15,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 295,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 15,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 11
},
"identifierName": "Cart"
},
"name": "Cart"
}
}
],
"source": {
"type": "StringLiteral",
"start": 17,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 25
}
},
"extra": {
"rawValue": "./Cart",
"raw": "'./Cart'"
},
"value": "./Cart"
}
},
{
"type": "ImportDeclaration",
"start": 27,
"end": 53,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 34,
"end": 38,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 34,
"end": 38,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
},
"identifierName": "Shop"
},
"name": "Shop"
}
}
],
"source": {
"type": "StringLiteral",
"start": 44,
"end": 52,
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 25
}
},
"extra": {
"rawValue": "./Shop",
"raw": "'./Shop'"
},
"value": "./Shop"
}
},
{
"type": "Identifier",
"start": 55,
"end": 249,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 11,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 61,
"end": 69,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
},
"identifierName": "Entities"
},
"name": "Entities"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 70,
"end": 249,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 11,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 76,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 76,
"end": 87,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 90,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 10,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 149,
"end": 166,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 149,
"end": 165,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 149,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 149,
"end": 153,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 154,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "Cart"
},
"name": "Cart"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 161,
"end": 165,
"loc": {
"start": {
"line": 7,
"column": 20
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "Cart"
},
"name": "Cart"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {src/entities/Cart.js~Cart} ",
"start": 100,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 48
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {src/entities/Shop.js~Shop} ",
"start": 175,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 48
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 224,
"end": 241,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 224,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 224,
"end": 233,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 224,
"end": 228,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 229,
"end": 233,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "Shop"
},
"name": "Shop"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 236,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "Shop"
},
"name": "Shop"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {src/entities/Shop.js~Shop} ",
"start": 175,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 48
}
}
}
]
}
],
"directives": []
}
}
],
"trailingComments": null
},
"trailingComments": [],
"name": "_",
"leadingComments": []
},
{
"type": "Identifier",
"start": 266,
"end": 294,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 28
}
},
"declaration": {
"type": "NewExpression",
"start": 281,
"end": 293,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 14,
"column": 27
}
},
"callee": {
"type": "Identifier",
"start": 285,
"end": 293,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "Entities"
},
"name": "Entities"
},
"arguments": [],
"leadingComments": null
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportDefaultDeclaration",
"start": 266,
"end": 294,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 28
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 55,
"end": 249,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 11,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 61,
"end": 69,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
},
"identifierName": "Entities"
},
"name": "Entities"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 70,
"end": 249,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 11,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 76,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 76,
"end": 87,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 90,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 10,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 149,
"end": 166,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 149,
"end": 165,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 149,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 149,
"end": 153,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 154,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "Cart"
},
"name": "Cart"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 161,
"end": 165,
"loc": {
"start": {
"line": 7,
"column": 20
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "Cart"
},
"name": "Cart"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {src/entities/Cart.js~Cart} ",
"start": 100,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 48
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {src/entities/Shop.js~Shop} ",
"start": 175,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 48
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 224,
"end": 241,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 224,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 224,
"end": 233,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 224,
"end": 228,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 229,
"end": 233,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "Shop"
},
"name": "Shop"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 236,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "Shop"
},
"name": "Shop"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {src/entities/Shop.js~Shop} ",
"start": 175,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 48
}
}
}
]
}
],
"directives": []
}
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @ignore ",
"start": 251,
"end": 265,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 14
}
}
}
],
"__PseudoExport__": true,
"leadingComments": []
},
"leadingComments": null
},
{
"type": "ExportDefaultDeclaration",
"start": 266,
"end": 294,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 28
}
},
"declaration": {
"type": "VariableDeclaration",
"kind": "let",
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "entities"
},
"init": {
"type": "NewExpression",
"callee": {
"type": "Identifier",
"name": "Entities"
}
}
}
],
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @ignore ",
"start": 251,
"end": 265,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 14
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @ignore ",
"start": 251,
"end": 265,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 14
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @type {src/entities/Cart.js~Cart} ",
"start": 100,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 48
}
}
},
{
"type": "CommentBlock",
"value": "* @type {src/entities/Shop.js~Shop} ",
"start": 175,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 48
}
}
},
{
"type": "CommentBlock",
"value": "* @ignore ",
"start": 251,
"end": 265,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 14
}
}
}
],
"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": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Cart",
"start": 7,
"end": 11,
"loc": {
"start": {
"line": 1,
"column": 7
},
"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": "from",
"start": 12,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./Cart",
"start": 17,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 25,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 27,
"end": 33,
"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": "Shop",
"start": 34,
"end": 38,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 39,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./Shop",
"start": 44,
"end": 52,
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 26
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 55,
"end": 60,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Entities",
"start": 61,
"end": 69,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 70,
"end": 71,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 76,
"end": 87,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 87,
"end": 88,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 88,
"end": 89,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 90,
"end": 91,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "* @type {src/entities/Cart.js~Cart} ",
"start": 100,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 48
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 149,
"end": 153,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 153,
"end": 154,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Cart",
"start": 154,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 159,
"end": 160,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Cart",
"start": 161,
"end": 165,
"loc": {
"start": {
"line": 7,
"column": 20
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 165,
"end": 166,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": "CommentBlock",
"value": "* @type {src/entities/Shop.js~Shop} ",
"start": 175,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 48
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 224,
"end": 228,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 228,
"end": 229,
"loc": {
"start": {
"line": 9,
"column": 12
},
"end": {
"line": 9,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Shop",
"start": 229,
"end": 233,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Shop",
"start": 236,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 240,
"end": 241,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 246,
"end": 247,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 248,
"end": 249,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "* @ignore ",
"start": 251,
"end": 265,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop":