Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/expression-primary-object/migrated_0038/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
13 "expression": {
14 "type": "ObjectExpression",
15 "start":1,"end":15,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":15,"index":15}},
16 "properties": [
17 {
18 "type": "ObjectMethod",
19 "start":2,"end":14,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":14,"index":14}},
20 "method": false,
21 "key": {
22 "type": "Identifier",
23 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
24 "name": "x"
25 },
26 "computed": false,
27 "kind": "set",
28 "id": null,
29 "generator": false,
30 "async": false,
31 "params": [
32 {
33 "type": "AssignmentPattern",
34 "start":8,"end":11,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":11,"index":11}},
35 "left": {
36 "type": "Identifier",
37 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9},"identifierName":"a"},
38 "name": "a"
39 },
40 "right": {
41 "type": "NumericLiteral",
42 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11}},
43 "extra": {
44 "rawValue": 0,
45 "raw": "0"
46 },
47 "value": 0
48 }
49 }
50 ],
51 "body": {
52 "type": "BlockStatement",
53 "start":12,"end":14,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":14,"index":14}},
54 "body": [],
55 "directives": []
56 }
57 }
58 ],
59 "extra": {
60 "parenthesized": true,
61 "parenStart": 0
62 }
63 }
64 }
65 ],
66 "directives": []
67 }
68 }