Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":3,"index":49}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":3,"index":49}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":3,"index":49}},
13 "expression": {
14 "type": "JSXFragment",
15 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":3,"index":49}},
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":46,"end":49,"loc":{"start":{"line":7,"column":0,"index":46},"end":{"line":7,"column":3,"index":49}}
23 },
24 "children": [
25 {
26 "type": "JSXText",
27 "start":2,"end":5,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":2,"column":2,"index":5}},
28 "extra": {
29 "rawValue": "\n ",
30 "raw": "\n "
31 },
32 "value": "\n "
33 },
34 {
35 "type": "JSXFragment",
36 "start":5,"end":45,"loc":{"start":{"line":2,"column":2,"index":5},"end":{"line":6,"column":5,"index":45}},
37 "openingFragment": {
38 "type": "JSXOpeningFragment",
39 "start":5,"end":7,"loc":{"start":{"line":2,"column":2,"index":5},"end":{"line":2,"column":4,"index":7}}
40 },
41 "closingFragment": {
42 "type": "JSXClosingFragment",
43 "start":42,"end":45,"loc":{"start":{"line":6,"column":2,"index":42},"end":{"line":6,"column":5,"index":45}}
44 },
45 "children": [
46 {
47 "type": "JSXText",
48 "start":7,"end":12,"loc":{"start":{"line":2,"column":4,"index":7},"end":{"line":3,"column":4,"index":12}},
49 "extra": {
50 "rawValue": "\n ",
51 "raw": "\n "
52 },
53 "value": "\n "
54 },
55 {
56 "type": "JSXFragment",
57 "start":12,"end":39,"loc":{"start":{"line":3,"column":4,"index":12},"end":{"line":5,"column":7,"index":39}},
58 "openingFragment": {
59 "type": "JSXOpeningFragment",
60 "start":12,"end":14,"loc":{"start":{"line":3,"column":4,"index":12},"end":{"line":3,"column":6,"index":14}}
61 },
62 "closingFragment": {
63 "type": "JSXClosingFragment",
64 "start":36,"end":39,"loc":{"start":{"line":5,"column":4,"index":36},"end":{"line":5,"column":7,"index":39}}
65 },
66 "children": [
67 {
68 "type": "JSXText",
69 "start":14,"end":36,"loc":{"start":{"line":3,"column":6,"index":14},"end":{"line":5,"column":4,"index":36}},
70 "extra": {
71 "rawValue": "\n super deep\n ",
72 "raw": "\n super deep\n "
73 },
74 "value": "\n super deep\n "
75 }
76 ]
77 },
78 {
79 "type": "JSXText",
80 "start":39,"end":42,"loc":{"start":{"line":5,"column":7,"index":39},"end":{"line":6,"column":2,"index":42}},
81 "extra": {
82 "rawValue": "\n ",
83 "raw": "\n "
84 },
85 "value": "\n "
86 }
87 ]
88 },
89 {
90 "type": "JSXText",
91 "start":45,"end":46,"loc":{"start":{"line":6,"column":5,"index":45},"end":{"line":7,"column":0,"index":46}},
92 "extra": {
93 "rawValue": "\n",
94 "raw": "\n"
95 },
96 "value": "\n"
97 }
98 ]
99 }
100 }
101 ],
102 "directives": []
103 }
104 }