UNPKG

@kkbox/kkbox-js-sdk

Version:

KKBOX Open API developer SDK for JavaScript. Use it to easily access KKBOX open API to get various metadata about KKBOX's tracks, albums, artists, playlists and stations.

1,928 lines 63.6 kB
{ "type": "File", "start": 0, "end": 706, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 28, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 706, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 28, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 46, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 8, "end": 26, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 26 } }, "imported": { "type": "Identifier", "start": 8, "end": 14, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 14 }, "identifierName": "CHARTS" }, "name": "CHARTS" }, "local": { "type": "Identifier", "start": 18, "end": 26, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 26 }, "identifierName": "ENDPOINT" }, "name": "ENDPOINT" } } ], "source": { "type": "StringLiteral", "start": 33, "end": 46, "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 46 } }, "extra": { "rawValue": "../Endpoint", "raw": "'../Endpoint'" }, "value": "../Endpoint" } }, { "type": "ImportDeclaration", "start": 47, "end": 78, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 31 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 54, "end": 61, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 14 } }, "local": { "type": "Identifier", "start": 54, "end": 61, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 14 }, "identifierName": "Fetcher" }, "name": "Fetcher" } } ], "source": { "type": "StringLiteral", "start": 67, "end": 78, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 31 } }, "extra": { "rawValue": "./Fetcher", "raw": "'./Fetcher'" }, "value": "./Fetcher", "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", "start": 80, "end": 201, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 7, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 202, "end": 706, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 28, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 217, "end": 706, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 28, "column": 1 } }, "id": { "type": "Identifier", "start": 223, "end": 235, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 33 }, "identifierName": "ChartFetcher" }, "name": "ChartFetcher", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 244, "end": 251, "loc": { "start": { "line": 8, "column": 42 }, "end": { "line": 8, "column": 49 }, "identifierName": "Fetcher" }, "name": "Fetcher" }, "body": { "type": "ClassBody", "start": 252, "end": 706, "loc": { "start": { "line": 8, "column": 50 }, "end": { "line": 28, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 289, "end": 370, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 14, "column": 5 } }, "computed": false, "key": { "type": "Identifier", "start": 289, "end": 300, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "static": false, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 301, "end": 305, "loc": { "start": { "line": 12, "column": 16 }, "end": { "line": 12, "column": 20 }, "identifierName": "http" }, "name": "http" }, { "type": "AssignmentPattern", "start": 307, "end": 323, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 38 } }, "left": { "type": "Identifier", "start": 307, "end": 316, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 31 }, "identifierName": "territory" }, "name": "territory" }, "right": { "type": "StringLiteral", "start": 319, "end": 323, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 38 } }, "extra": { "rawValue": "TW", "raw": "'TW'" }, "value": "TW" } } ], "body": { "type": "BlockStatement", "start": 325, "end": 370, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 14, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 335, "end": 364, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 37 } }, "expression": { "type": "CallExpression", "start": 335, "end": 364, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 37 } }, "callee": { "type": "Super", "start": 335, "end": 340, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 341, "end": 345, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 18 }, "identifierName": "http" }, "name": "http" }, { "type": "AssignmentExpression", "start": 347, "end": 363, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 347, "end": 356, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 29 }, "identifierName": "territory" }, "name": "territory" }, "right": { "type": "StringLiteral", "start": 359, "end": 363, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 36 } }, "extra": { "rawValue": "TW", "raw": "'TW'" }, "value": "TW" } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @ignore\n ", "start": 258, "end": 284, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n ", "start": 376, "end": 588, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 22, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 593, "end": 704, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 27, "column": 5 } }, "computed": false, "key": { "type": "Identifier", "start": 593, "end": 604, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 15 }, "identifierName": "fetchCharts" }, "name": "fetchCharts", "leadingComments": null }, "static": false, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 607, "end": 704, "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 27, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 617, "end": 698, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 26, "column": 10 } }, "argument": { "type": "CallExpression", "start": 624, "end": 698, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 26, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 624, "end": 637, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 28 } }, "object": { "type": "MemberExpression", "start": 624, "end": 633, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 24 } }, "object": { "type": "ThisExpression", "start": 624, "end": 628, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 19 } } }, "property": { "type": "Identifier", "start": 629, "end": 633, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 24 }, "identifierName": "http" }, "name": "http" }, "computed": false }, "property": { "type": "Identifier", "start": 634, "end": 637, "loc": { "start": { "line": 24, "column": 25 }, "end": { "line": 24, "column": 28 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 638, "end": 646, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 37 }, "identifierName": "ENDPOINT" }, "name": "ENDPOINT" }, { "type": "ObjectExpression", "start": 648, "end": 697, "loc": { "start": { "line": 24, "column": 39 }, "end": { "line": 26, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 662, "end": 687, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 37 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 662, "end": 671, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 21 }, "identifierName": "territory" }, "name": "territory" }, "value": { "type": "MemberExpression", "start": 673, "end": 687, "loc": { "start": { "line": 25, "column": 23 }, "end": { "line": 25, "column": 37 } }, "object": { "type": "ThisExpression", "start": 673, "end": 677, "loc": { "start": { "line": 25, "column": 23 }, "end": { "line": 25, "column": 27 } } }, "property": { "type": "Identifier", "start": 678, "end": 687, "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 37 }, "identifierName": "territory" }, "name": "territory" }, "computed": false } } ] } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n ", "start": 376, "end": 588, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 22, "column": 7 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", "start": 80, "end": 201, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 7, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", "start": 80, "end": 201, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 7, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", "start": 80, "end": 201, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 7, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @ignore\n ", "start": 258, "end": 284, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } }, { "type": "CommentBlock", "value": "*\n * Fetch chart playlists.\n *\n * @return {Promise}\n * @example api.chartFetcher.fetchCharts()\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts/endpoints/get-charts\n ", "start": 376, "end": 588, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 22, "column": 7 } } } ], "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": "CHARTS", "start": 8, "end": 14, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "as", "start": 15, "end": 17, "loc": { "start": { "line": 1, "column": 15 }, "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": "ENDPOINT", "start": 18, "end": 26, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26, "end": 27, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 28, "end": 32, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Endpoint", "start": 33, "end": 46, "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 46 } } }, { "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": 47, "end": 53, "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": "Fetcher", "start": 54, "end": 61, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 62, "end": 66, "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Fetcher", "start": 67, "end": 78, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 31 } } }, { "type": "CommentBlock", "value": "*\n * The fetcher that can fetch chart playlists.\n * @see https://kkbox.gelato.io/docs/versions/1.1/resources/charts\n ", "start": 80, "end": 201, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 7, "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": 202, "end": 208, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "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": 209, "end": 216, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "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": 217, "end": 222, "loc": { "start": { "line": 8, "column": 15 }, "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": "ChartFetcher", "start": 223, "end": 235, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 33 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 236, "end": 243, "loc": { "start": { "line": 8, "column": 34 }, "end": { "line": 8, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Fetcher", "start": 244, "end": 251, "loc": { "start": { "line": 8, "column": 42 }, "end": { "line": 8, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 252, "end": 253, "loc": { "start": { "line": 8, "column": 50 }, "end": { "line": 8, "column": 51 } } }, { "type": "CommentBlock", "value": "*\n * @ignore\n ", "start": 258, "end": 284, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 289, "end": 300, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 300, "end": 301, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "http", "start": 301, "end": 305, "loc": { "start": { "line": 12, "column": 16 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 305, "end": 306, "loc": { "start": { "line": 12, "column": 20 }, "end": { "line": 12, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "territory", "start": 307, "end": 316, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 317, "end": 318, "loc": { "start": { "line": 12, "column": 32 }, "end": { "line": 12, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "TW", "start": 319, "end": 323, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 323, "end": 324, "loc": { "start": { "line": 12, "column": 38 }, "end": { "line": 12, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 325, "end": 326, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 41 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 335, "end": 340, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 340, "end": 341, "loc": { "start": { "line": 13, "column": 13 }, "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": "http", "start": 341, "end": 345, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 345, "end": 346, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "territory", "start": 347, "end": 356, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 357, "end": 358, "loc": { "start": { "line": 13, "column": 30 }, "end": { "line": 13, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "TW", "start": 359, "end": 363, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr"