yjs/docs/ast/source/Util/mutualExclude.js.json
2018-04-27 18:45:01 +02:00

2108 lines
55 KiB
JSON

{
"type": "File",
"start": 0,
"end": 686,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 34,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 686,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 34,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ExportNamedDeclaration",
"start": 443,
"end": 685,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 33,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 450,
"end": 685,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 33,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 459,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 35
},
"identifierName": "createMutualExclude"
},
"name": "createMutualExclude",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 482,
"end": 685,
"loc": {
"start": {
"line": 20,
"column": 39
},
"end": {
"line": 33,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 486,
"end": 502,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 490,
"end": 502,
"loc": {
"start": {
"line": 21,
"column": 6
},
"end": {
"line": 21,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 490,
"end": 495,
"loc": {
"start": {
"line": 21,
"column": 6
},
"end": {
"line": 21,
"column": 11
},
"identifierName": "token"
},
"name": "token"
},
"init": {
"type": "BooleanLiteral",
"start": 498,
"end": 502,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 18
}
},
"value": true
}
}
],
"kind": "var"
},
{
"type": "ReturnStatement",
"start": 505,
"end": 683,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 32,
"column": 3
}
},
"argument": {
"type": "FunctionExpression",
"start": 512,
"end": 683,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 32,
"column": 3
}
},
"id": {
"type": "Identifier",
"start": 521,
"end": 534,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 31
},
"identifierName": "mutualExclude"
},
"name": "mutualExclude"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 22,
"column": 33
},
"end": {
"line": 22,
"column": 34
},
"identifierName": "f"
},
"name": "f"
}
],
"body": {
"type": "BlockStatement",
"start": 539,
"end": 683,
"loc": {
"start": {
"line": 22,
"column": 36
},
"end": {
"line": 32,
"column": 3
}
},
"body": [
{
"type": "IfStatement",
"start": 545,
"end": 679,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 31,
"column": 5
}
},
"test": {
"type": "Identifier",
"start": 549,
"end": 554,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 13
},
"identifierName": "token"
},
"name": "token"
},
"consequent": {
"type": "BlockStatement",
"start": 556,
"end": 679,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 31,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 564,
"end": 577,
"loc": {
"start": {
"line": 24,
"column": 6
},
"end": {
"line": 24,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 564,
"end": 577,
"loc": {
"start": {
"line": 24,
"column": 6
},
"end": {
"line": 24,
"column": 19
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 564,
"end": 569,
"loc": {
"start": {
"line": 24,
"column": 6
},
"end": {
"line": 24,
"column": 11
},
"identifierName": "token"
},
"name": "token"
},
"right": {
"type": "BooleanLiteral",
"start": 572,
"end": 577,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 19
}
},
"value": false
}
}
},
{
"type": "TryStatement",
"start": 584,
"end": 654,
"loc": {
"start": {
"line": 25,
"column": 6
},
"end": {
"line": 29,
"column": 7
}
},
"block": {
"type": "BlockStatement",
"start": 588,
"end": 609,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 27,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 598,
"end": 601,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 598,
"end": 601,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 11
}
},
"callee": {
"type": "Identifier",
"start": 598,
"end": 599,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 9
},
"identifierName": "f"
},
"name": "f"
},
"arguments": []
}
}
],
"directives": []
},
"handler": {
"type": "CatchClause",
"start": 610,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 29,
"column": 7
}
},
"param": {
"type": "Identifier",
"start": 617,
"end": 618,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 16
},
"identifierName": "e"
},
"name": "e"
},
"body": {
"type": "BlockStatement",
"start": 620,
"end": 654,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 29,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 630,
"end": 646,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 24
}
},
"expression": {
"type": "CallExpression",
"start": 630,
"end": 646,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 24
}
},
"callee": {
"type": "MemberExpression",
"start": 630,
"end": 643,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 630,
"end": 637,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 15
},
"identifierName": "console"
},
"name": "console"
},
"property": {
"type": "Identifier",
"start": 638,
"end": 643,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 21
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 644,
"end": 645,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
},
"identifierName": "e"
},
"name": "e"
}
]
}
}
],
"directives": []
}
},
"guardedHandlers": [],
"finalizer": null
},
{
"type": "ExpressionStatement",
"start": 661,
"end": 673,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 18
}
},
"expression": {
"type": "AssignmentExpression",
"start": 661,
"end": 673,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 18
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 661,
"end": 666,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 11
},
"identifierName": "token"
},
"name": "token"
},
"right": {
"type": "BooleanLiteral",
"start": 669,
"end": 673,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 18
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: rename mutex",
"start": 1,
"end": 22,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates a mutual exclude function with the following property:\n *\n * @example\n * const mutualExclude = createMutualExclude()\n * mutualExclude(function () {\n * // This function is immediately executed\n * mutualExclude(function () {\n * // This function is never executed, as it is called with the same\n * // mutualExclude\n * })\n * })\n *\n * @return {Function} A mutual exclude function\n * @public\n ",
"start": 24,
"end": 442,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 19,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: rename mutex",
"start": 1,
"end": 22,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates a mutual exclude function with the following property:\n *\n * @example\n * const mutualExclude = createMutualExclude()\n * mutualExclude(function () {\n * // This function is immediately executed\n * mutualExclude(function () {\n * // This function is never executed, as it is called with the same\n * // mutualExclude\n * })\n * })\n *\n * @return {Function} A mutual exclude function\n * @public\n ",
"start": 24,
"end": 442,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 19,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " TODO: rename mutex",
"start": 1,
"end": 22,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates a mutual exclude function with the following property:\n *\n * @example\n * const mutualExclude = createMutualExclude()\n * mutualExclude(function () {\n * // This function is immediately executed\n * mutualExclude(function () {\n * // This function is never executed, as it is called with the same\n * // mutualExclude\n * })\n * })\n *\n * @return {Function} A mutual exclude function\n * @public\n ",
"start": 24,
"end": 442,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 19,
"column": 3
}
}
}
],
"tokens": [
{
"type": "CommentLine",
"value": " TODO: rename mutex",
"start": 1,
"end": 22,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates a mutual exclude function with the following property:\n *\n * @example\n * const mutualExclude = createMutualExclude()\n * mutualExclude(function () {\n * // This function is immediately executed\n * mutualExclude(function () {\n * // This function is never executed, as it is called with the same\n * // mutualExclude\n * })\n * })\n *\n * @return {Function} A mutual exclude function\n * @public\n ",
"start": 24,
"end": 442,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 19,
"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": 443,
"end": 449,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 450,
"end": 458,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createMutualExclude",
"start": 459,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 479,
"end": 480,
"loc": {
"start": {
"line": 20,
"column": 36
},
"end": {
"line": 20,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 480,
"end": 481,
"loc": {
"start": {
"line": 20,
"column": 37
},
"end": {
"line": 20,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 482,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 39
},
"end": {
"line": 20,
"column": 40
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 486,
"end": 489,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "token",
"start": 490,
"end": 495,
"loc": {
"start": {
"line": 21,
"column": 6
},
"end": {
"line": 21,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 498,
"end": 502,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 18
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 505,
"end": 511,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 8
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 512,
"end": 520,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mutualExclude",
"start": 521,
"end": 534,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 535,
"end": 536,
"loc": {
"start": {
"line": 22,
"column": 32
},
"end": {
"line": 22,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "f",
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 22,
"column": 33
},
"end": {
"line": 22,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 537,
"end": 538,
"loc": {
"start": {
"line": 22,
"column": 34
},
"end": {
"line": 22,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 539,
"end": 540,
"loc": {
"start": {
"line": 22,
"column": 36
},
"end": {
"line": 22,
"column": 37
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 545,
"end": 547,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 548,
"end": 549,
"loc": {
"start": {
"line": 23,
"column": 7
},
"end": {
"line": 23,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "token",
"start": 549,
"end": 554,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 554,
"end": 555,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 556,
"end": 557,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "token",
"start": 564,
"end": 569,
"loc": {
"start": {
"line": 24,
"column": 6
},
"end": {
"line": 24,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 570,
"end": 571,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 572,
"end": 577,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 19
}
}
},
{
"type": {
"label": "try",
"keyword": "try",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "try",
"start": 584,
"end": 587,
"loc": {
"start": {
"line": 25,
"column": 6
},
"end": {
"line": 25,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 588,
"end": 589,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 25,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "f",
"start": 598,
"end": 599,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 599,
"end": 600,
"loc": {
"start": {
"line": 26,
"column": 9
},
"end": {
"line": 26,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 600,
"end": 601,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 608,
"end": 609,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 7
}
}
},
{
"type": {
"label": "catch",
"keyword": "catch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "catch",
"start": 610,
"end": 615,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 616,
"end": 617,
"loc": {
"start": {
"line": 27,
"column": 14
},
"end": {
"line": 27,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 617,
"end": 618,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 618,
"end": 619,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 620,
"end": 621,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "console",
"start": 630,
"end": 637,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 638,
"end": 643,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 643,
"end": 644,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 644,
"end": 645,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 645,
"end": 646,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 653,
"end": 654,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "token",
"start": 661,
"end": 666,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 667,
"end": 668,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 669,
"end": 673,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 678,
"end": 679,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 682,
"end": 683,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 684,
"end": 685,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 33,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 686,
"end": 686,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 34,
"column": 0
}
}
}
]
}