Debian Codegraph @

packages/babel-parser/test/fixtures/core/categorized/06-regex/output.json

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