Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/45/output.json

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