Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
16 "operator": "=",
17 "left": {
18 "type": "Identifier",
19 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
20 "name": "x"
21 },
22 "right": {
23 "type": "ObjectExpression",
24 "start":4,"end":15,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":15,"index":15}},
25 "properties": [
26 {
27 "type": "ObjectProperty",
28 "start":6,"end":13,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":13,"index":13}},
29 "method": false,
30 "key": {
31 "type": "Identifier",
32 "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"set"},
33 "name": "set"
34 },
35 "computed": false,
36 "shorthand": false,
37 "value": {
38 "type": "NumericLiteral",
39 "start":11,"end":13,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":13,"index":13}},
40 "extra": {
41 "rawValue": 43,
42 "raw": "43"
43 },
44 "value": 43
45 }
46 }
47 ]
48 }
49 }
50 }
51 ],
52 "directives": []
53 }
54 }