359 lines
10 KiB
JSON

{
"type": "File",
"start": 0,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 23
}
},
"range": [
0,
23
],
"program": {
"type": "Program",
"start": 0,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 23
}
},
"range": [
0,
23
],
"sourceType": "script",
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 23
}
},
"range": [
0,
23
],
"expression": {
"type": "ObjectExpression",
"start": 1,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 22
}
},
"range": [
1,
22
],
"properties": [
{
"type": "Property",
"start": 2,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 21
}
},
"range": [
2,
21
],
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2,
"end": 3,
"loc": {
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 3
}
},
"range": [
2,
3
],
"name": "f"
},
"kind": "init",
"value": {
"type": "FunctionExpression",
"start": 3,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 3
},
"end": {
"line": 1,
"column": 21
}
},
"range": [
3,
21
],
"id": null,
"generator": false,
"expression": false,
"params": [
{
"type": "AssignmentPattern",
"start": 4,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 17
}
},
"range": [
4,
17
],
"operator": "=",
"left": {
"type": "ObjectPattern",
"start": 4,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 7
}
},
"range": [
4,
7
],
"properties": [
{
"type": "Property",
"start": 5,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 5
},
"end": {
"line": 1,
"column": 6
}
},
"range": [
5,
6
],
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 5,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 5
},
"end": {
"line": 1,
"column": 6
}
},
"range": [
5,
6
],
"name": "x"
},
"kind": "init",
"value": {
"type": "Identifier",
"start": 5,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 5
},
"end": {
"line": 1,
"column": 6
}
},
"range": [
5,
6
],
"name": "x"
}
}
]
},
"right": {
"type": "ObjectExpression",
"start": 10,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 17
}
},
"range": [
10,
17
],
"properties": [
{
"type": "Property",
"start": 11,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 1,
"column": 16
}
},
"range": [
11,
16
],
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 11,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 1,
"column": 12
}
},
"range": [
11,
12
],
"name": "x"
},
"value": {
"type": "Literal",
"start": 14,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 16
}
},
"range": [
14,
16
],
"value": 10,
"rawValue": 10,
"raw": "10"
},
"kind": "init"
}
]
}
}
],
"body": {
"type": "BlockStatement",
"start": 19,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 21
}
},
"range": [
19,
21
],
"body": []
}
}
}
],
"parenthesizedExpression": true
}
}
]
}
}