Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
13 "expression": {
14 "type": "JSXElement",
15 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
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": "JSXMemberExpression",
21 "start":1,"end":4,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":4,"index":4}},
22 "object": {
23 "type": "JSXIdentifier",
24 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2}},
25 "name": "a"
26 },
27 "property": {
28 "type": "JSXIdentifier",
29 "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4}},
30 "name": "b"
31 }
32 },
33 "attributes": [],
34 "selfClosing": false
35 },
36 "closingElement": {
37 "type": "JSXClosingElement",
38 "start":5,"end":11,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":11,"index":11}},
39 "name": {
40 "type": "JSXMemberExpression",
41 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
42 "object": {
43 "type": "JSXIdentifier",
44 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8}},
45 "name": "a"
46 },
47 "property": {
48 "type": "JSXIdentifier",
49 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
50 "name": "b"
51 }
52 }
53 },
54 "children": []
55 }
56 }
57 ],
58 "directives": []
59 }
60 }