Debian Codegraph @

packages/babel-parser/test/fixtures/jsx/regression/7/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":17,"index":62}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":17,"index":62}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":17,"index":62}},
13 "expression": {
14 "type": "JSXElement",
15 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":17,"index":62}},
16 "openingElement": {
17 "type": "JSXOpeningElement",
18 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":17,"index":62}},
19 "name": {
20 "type": "JSXIdentifier",
21 "start":1,"end":5,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":5,"index":5}},
22 "name": "path"
23 },
24 "attributes": [
25 {
26 "type": "JSXAttribute",
27 "start":6,"end":60,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":3,"column":15,"index":60}},
28 "name": {
29 "type": "JSXIdentifier",
30 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}},
31 "name": "d"
32 },
33 "value": {
34 "type": "StringLiteral",
35 "start":8,"end":60,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":15,"index":60}},
36 "extra": {
37 "rawValue": "M230 80\n\t\tA 45 45, 0, 1, 0, 275 125\n L 275 80 Z",
38 "raw": "\"M230 80\n\t\tA 45 45, 0, 1, 0, 275 125\n L 275 80 Z\""
39 },
40 "value": "M230 80\n\t\tA 45 45, 0, 1, 0, 275 125\n L 275 80 Z"
41 }
42 }
43 ],
44 "selfClosing": true
45 },
46 "closingElement": null,
47 "children": []
48 }
49 }
50 ],
51 "directives": []
52 }
53 }