Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/331/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":5,"index":12}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":5,"index":12}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
13 "expression": {
14 "type": "UpdateExpression",
15 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
16 "operator": "++",
17 "prefix": false,
18 "argument": {
19 "type": "Identifier",
20 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
21 "name": "x"
22 }
23 }
24 },
25 {
26 "type": "BlockStatement",
27 "start":4,"end":6,"loc":{"start":{"line":2,"column":0,"index":4},"end":{"line":2,"column":2,"index":6}},
28 "body": [],
29 "directives": []
30 },
31 {
32 "type": "ExpressionStatement",
33 "start":7,"end":12,"loc":{"start":{"line":3,"column":0,"index":7},"end":{"line":3,"column":5,"index":12}},
34 "expression": {
35 "type": "RegExpLiteral",
36 "start":7,"end":12,"loc":{"start":{"line":3,"column":0,"index":7},"end":{"line":3,"column":5,"index":12}},
37 "extra": {
38 "raw": "/foo/"
39 },
40 "pattern": "foo",
41 "flags": ""
42 }
43 }
44 ],
45 "directives": []
46 }
47 }