Debian Codegraph @

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

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