UNPKG

@eastsideco/escshopify

Version:

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

1,896 lines 66.7 kB
{ "type": "File", "start": 0, "end": 884, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 36, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 884, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 36, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExportDefaultDeclaration", "start": 127, "end": 883, "loc": { "start": { "line": 5, "column": 1 }, "end": { "line": 35, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 142, "end": 883, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 35, "column": 1 } }, "id": { "type": "Identifier", "start": 148, "end": 154, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 28 }, "identifierName": "Logger" }, "name": "Logger", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 155, "end": 883, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 35, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 162, "end": 212, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 9, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 162, "end": 173, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 176, "end": 212, "loc": { "start": { "line": 7, "column": 18 }, "end": { "line": 9, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 186, "end": 206, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 186, "end": 205, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 186, "end": 200, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 22 } }, "object": { "type": "ThisExpression", "start": 186, "end": 190, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 12 } } }, "property": { "type": "Identifier", "start": 191, "end": 200, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 22 }, "identifierName": "logPrefix" }, "name": "logPrefix" }, "computed": false }, "right": { "type": "StringLiteral", "start": 203, "end": 205, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 27 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 218, "end": 279, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 13, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 218, "end": 230, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 16 }, "identifierName": "setLogPrefix" }, "name": "setLogPrefix" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 231, "end": 237, "loc": { "start": { "line": 11, "column": 17 }, "end": { "line": 11, "column": 23 }, "identifierName": "prefix" }, "name": "prefix" } ], "body": { "type": "BlockStatement", "start": 239, "end": 279, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 13, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 249, "end": 273, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 249, "end": 272, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 249, "end": 263, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 22 } }, "object": { "type": "ThisExpression", "start": 249, "end": 253, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, "property": { "type": "Identifier", "start": 254, "end": 263, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 22 }, "identifierName": "logPrefix" }, "name": "logPrefix" }, "computed": false }, "right": { "type": "Identifier", "start": 266, "end": 272, "loc": { "start": { "line": 12, "column": 25 }, "end": { "line": 12, "column": 31 }, "identifierName": "prefix" }, "name": "prefix" } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a message to the console\n * @param {type}\tlevel - Logging level\n * @param {type}\ttag - Logging tag\n * @param {type}\ttext - Text to log\n ", "start": 286, "end": 461, "loc": { "start": { "line": 15, "column": 5 }, "end": { "line": 20, "column": 8 } } } ] }, { "type": "ClassMethod", "start": 466, "end": 555, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 23, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 466, "end": 470, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 8 }, "identifierName": "send" }, "name": "send", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 471, "end": 476, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 14 }, "identifierName": "level" }, "name": "level" }, { "type": "Identifier", "start": 478, "end": 481, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 19 }, "identifierName": "tag" }, "name": "tag" }, { "type": "Identifier", "start": 483, "end": 487, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 25 }, "identifierName": "text" }, "name": "text" } ], "body": { "type": "BlockStatement", "start": 489, "end": 555, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 23, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 499, "end": 549, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 58 } }, "argument": { "type": "NewExpression", "start": 505, "end": 548, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 57 } }, "callee": { "type": "Identifier", "start": 509, "end": 514, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 515, "end": 547, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 56 } }, "extra": { "rawValue": "Logger should implement send()", "raw": "'Logger should implement send()'" }, "value": "Logger should implement send()" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Logs a message to the console\n * @param {type}\tlevel - Logging level\n * @param {type}\ttag - Logging tag\n * @param {type}\ttext - Text to log\n ", "start": 286, "end": 461, "loc": { "start": { "line": 15, "column": 5 }, "end": { "line": 20, "column": 8 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Log an object.\n * @param {type}\tlevel - Logging level\n * @param {type}\ttag - Logging tag\n * @param {type}\ttext - Logging text\n * @param {type}\tobject - Object to be logged\n ", "start": 561, "end": 767, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 31, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 772, "end": 881, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 772, "end": 782, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 14 }, "identifierName": "sendObject" }, "name": "sendObject", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 783, "end": 788, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 20 }, "identifierName": "level" }, "name": "level" }, { "type": "Identifier", "start": 790, "end": 793, "loc": { "start": { "line": 32, "column": 22 }, "end": { "line": 32, "column": 25 }, "identifierName": "tag" }, "name": "tag" }, { "type": "Identifier", "start": 795, "end": 799, "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 31 }, "identifierName": "text" }, "name": "text" }, { "type": "Identifier", "start": 801, "end": 807, "loc": { "start": { "line": 32, "column": 33 }, "end": { "line": 32, "column": 39 }, "identifierName": "object" }, "name": "object" } ], "body": { "type": "BlockStatement", "start": 809, "end": 881, "loc": { "start": { "line": 32, "column": 41 }, "end": { "line": 34, "column": 5 } }, "body": [ { "type": "ThrowStatement", "start": 819, "end": 875, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 64 } }, "argument": { "type": "NewExpression", "start": 825, "end": 874, "loc": { "start": { "line": 33, "column": 14 }, "end": { "line": 33, "column": 63 } }, "callee": { "type": "Identifier", "start": 829, "end": 834, "loc": { "start": { "line": 33, "column": 18 }, "end": { "line": 33, "column": 23 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 835, "end": 873, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 62 } }, "extra": { "rawValue": "Logger should implement sendObject()", "raw": "'Logger should implement sendObject()'" }, "value": "Logger should implement sendObject()" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Log an object.\n * @param {type}\tlevel - Logging level\n * @param {type}\ttag - Logging tag\n * @param {type}\ttext - Logging text\n * @param {type}\tobject - Object to be logged\n ", "start": 561, "end": 767, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 31, "column": 7 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Abtstract class representing an object which can log debug messages.\n * Can be attached to a Log with addLogger().\n ", "start": 0, "end": 125, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Abtstract class representing an object which can log debug messages.\n * Can be attached to a Log with addLogger().\n ", "start": 0, "end": 125, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Abtstract class representing an object which can log debug messages.\n * Can be attached to a Log with addLogger().\n ", "start": 0, "end": 125, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Logs a message to the console\n * @param {type}\tlevel - Logging level\n * @param {type}\ttag - Logging tag\n * @param {type}\ttext - Text to log\n ", "start": 286, "end": 461, "loc": { "start": { "line": 15, "column": 5 }, "end": { "line": 20, "column": 8 } } }, { "type": "CommentBlock", "value": "*\n * Log an object.\n * @param {type}\tlevel - Logging level\n * @param {type}\ttag - Logging tag\n * @param {type}\ttext - Logging text\n * @param {type}\tobject - Object to be logged\n ", "start": 561, "end": 767, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 31, "column": 7 } } } ], "tokens": [ { "type": "CommentBlock", "value": "*\n * Abtstract class representing an object which can log debug messages.\n * Can be attached to a Log with addLogger().\n ", "start": 0, "end": 125, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "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": 127, "end": 133, "loc": { "start": { "line": 5, "column": 1 }, "end": { "line": 5, "column": 7 } } }, { "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": 134, "end": 141, "loc": { "start": { "line": 5, "column": 8 }, "end": { "line": 5, "column": 15 } } }, { "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": 142, "end": 147, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Logger", "start": 148, "end": 154, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 155, "end": 156, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 162, "end": 173, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 173, "end": 174, "loc": { "start": { "line": 7, "column": 15 }, "end": { "line": 7, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 174, "end": 175, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 176, "end": 177, "loc": { "start": { "line": 7, "column": 18 }, "end": { "line": 7, "column": 19 } } }, { "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": 186, "end": 190, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 190, "end": 191, "loc": { "start": { "line": 8, "column": 12 }, "end": { "line": 8, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logPrefix", "start": 191, "end": 200, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 201, "end": 202, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 203, "end": 205, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 205, "end": 206, "loc": { "start": { "line": 8, "column": 27 }, "end": { "line": 8, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 211, "end": 212, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setLogPrefix", "start": 218, "end": 230, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 230, "end": 231, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prefix", "start": 231, "end": 237, "loc": { "start": { "line": 11, "column": 17 }, "end": { "line": 11, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 237, "end": 238, "loc": { "start": { "line": 11, "column": 23 }, "end": { "line": 11, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 239, "end": 240, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 26 } } }, { "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": 249, "end": 253, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 253, "end": 254, "loc": { "start": { "line": 12, "column": 12 }, "end": { "line": 12, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logPrefix", "start": 254, "end": 263, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 264, "end": 265, "loc": { "start": { "line": 12, "column": 23 }, "end": { "line": 12, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prefix", "start": 266, "end": 272, "loc": { "start": { "line": 12, "column": 25 }, "end": { "line": 12, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 272, "end": 273, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 278, "end": 279, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 5 } } }, { "type": "CommentBlock", "value": "*\n * Logs a message to the console\n * @param {type}\tlevel - Logging level\n * @param {type}\ttag - Logging tag\n * @param {type}\ttext - Text to log\n ", "start": 286, "end": 461, "loc": { "start": { "line": 15, "column": 5 }, "end": { "line": 20, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "send", "start": 466, "end": 470, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 470, "end": 471, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "level", "start": 471, "end": 476, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 476, "end": 477, "loc": { "start": { "line": 21, "column": 14 }, "end": { "line": 21, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tag", "start": 478, "end": 481, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 481, "end": 482, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix"