Debian Codegraph @

packages/babel-parser/test/fixtures/jsx/basic/fragment-2/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
13 "expression": {
14 "type": "JSXFragment",
15 "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}},
16 "openingFragment": {
17 "type": "JSXOpeningFragment",
18 "start":0,"end":2,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":2,"index":2}}
19 },
20 "closingFragment": {
21 "type": "JSXClosingFragment",
22 "start":19,"end":22,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":22,"index":22}}
23 },
24 "children": [
25 {
26 "type": "JSXText",
27 "start":2,"end":19,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":19,"index":19}},
28 "extra": {
29 "rawValue": "Hi, I'm a string!",
30 "raw": "Hi, I'm a string!"
31 },
32 "value": "Hi, I'm a string!"
33 }
34 ]
35 }
36 }
37 ],
38 "directives": []
39 }
40 }