Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
13 "expression": {
14 "type": "JSXElement",
15 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
16 "openingElement": {
17 "type": "JSXOpeningElement",
18 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
19 "name": {
20 "type": "JSXMemberExpression",
21 "start":1,"end":6,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":6,"index":6}},
22 "object": {
23 "type": "JSXMemberExpression",
24 "start":1,"end":4,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":4,"index":4}},
25 "object": {
26 "type": "JSXIdentifier",
27 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2}},
28 "name": "a"
29 },
30 "property": {
31 "type": "JSXIdentifier",
32 "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4}},
33 "name": "b"
34 }
35 },
36 "property": {
37 "type": "JSXIdentifier",
38 "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6}},
39 "name": "c"
40 }
41 },
42 "attributes": [],
43 "selfClosing": false
44 },
45 "closingElement": {
46 "type": "JSXClosingElement",
47 "start":7,"end":15,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":15,"index":15}},
48 "name": {
49 "type": "JSXMemberExpression",
50 "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14}},
51 "object": {
52 "type": "JSXMemberExpression",
53 "start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12}},
54 "object": {
55 "type": "JSXIdentifier",
56 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
57 "name": "a"
58 },
59 "property": {
60 "type": "JSXIdentifier",
61 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12}},
62 "name": "b"
63 }
64 },
65 "property": {
66 "type": "JSXIdentifier",
67 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14}},
68 "name": "c"
69 }
70 }
71 },
72 "children": []
73 }
74 }
75 ],
76 "directives": []
77 }
78 }