Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/expression-grouping/migrated_0000/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": "BinaryExpression",
15 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
16 "left": {
17 "type": "BinaryExpression",
18 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
19 "left": {
20 "type": "NumericLiteral",
21 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2}},
22 "extra": {
23 "rawValue": 1,
24 "raw": "1",
25 "parenthesized": true,
26 "parenStart": 0
27 },
28 "value": 1
29 },
30 "operator": "+",
31 "right": {
32 "type": "NumericLiteral",
33 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8}},
34 "extra": {
35 "rawValue": 2,
36 "raw": "2",
37 "parenthesized": true,
38 "parenStart": 6
39 },
40 "value": 2
41 }
42 },
43 "operator": "+",
44 "right": {
45 "type": "NumericLiteral",
46 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15}},
47 "extra": {
48 "rawValue": 3,
49 "raw": "3"
50 },
51 "value": 3
52 }
53 }
54 }
55 ],
56 "directives": []
57 }
58 }