228 lines
5.2 KiB
JSON

{
"type": "File",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 24
}
},
"range": [
0,
24
],
"program": {
"type": "Program",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 24
}
},
"range": [
0,
24
],
"sourceType": "script",
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 24
}
},
"range": [
0,
24
],
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 24
}
},
"range": [
0,
24
],
"operator": "=",
"left": {
"type": "Identifier",
"start": 0,
"end": 1,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 1
}
},
"range": [
0,
1
],
"name": "x"
},
"right": {
"type": "ObjectExpression",
"start": 4,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 24
}
},
"range": [
4,
24
],
"properties": [
{
"type": "Property",
"start": 6,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 22
}
},
"range": [
6,
22
],
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 12
}
},
"range": [
6,
12
],
"name": "method"
},
"kind": "init",
"value": {
"type": "FunctionExpression",
"start": 12,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 22
}
},
"range": [
12,
22
],
"id": null,
"generator": false,
"expression": false,
"params": [
{
"type": "Identifier",
"start": 13,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 17
}
},
"range": [
13,
17
],
"name": "test"
}
],
"body": {
"type": "BlockStatement",
"start": 19,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 22
}
},
"range": [
19,
22
],
"body": []
}
}
}
]
}
}
}
]
}
}