Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
13 "expression": {
14 "type": "JSXElement",
15 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
16 "openingElement": {
17 "type": "JSXOpeningElement",
18 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
19 "name": {
20 "type": "JSXIdentifier",
21 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2}},
22 "name": "a"
23 },
24 "attributes": [],
25 "selfClosing": true
26 },
27 "closingElement": null,
28 "children": []
29 }
30 }
31 ],
32 "directives": []
33 }
34 }