UNPKG

@eastsideco/escshopify

Version:

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

358 lines 7.37 kB
{ "type": "File", "start": 0, "end": 115, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 6, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 115, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 6, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExportDefaultDeclaration", "start": 74, "end": 114, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 5, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 89, "end": 114, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 5, "column": 1 } }, "id": { "type": "Identifier", "start": 95, "end": 110, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 36 }, "identifierName": "RequestQueuable" }, "name": "RequestQueuable", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 111, "end": 114, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 5, "column": 1 } }, "body": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A class which contains a request queue and processes requests.\n ", "start": 0, "end": 73, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A class which contains a request queue and processes requests.\n ", "start": 0, "end": 73, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * A class which contains a request queue and processes requests.\n ", "start": 0, "end": 73, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 3 } } } ], "tokens": [ { "type": "CommentBlock", "value": "*\n * A class which contains a request queue and processes requests.\n ", "start": 0, "end": 73, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 3 } } }, { "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": 74, "end": 80, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "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": 81, "end": 88, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 14 } } }, { "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": 89, "end": 94, "loc": { "start": { "line": 4, "column": 15 }, "end": { "line": 4, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RequestQueuable", "start": 95, "end": 110, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 111, "end": 112, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 4, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 113, "end": 114, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 115, "end": 115, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 0 } } } ] }