Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
13 "expression": {
14 "type": "ConditionalExpression",
15 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
16 "test": {
17 "type": "BooleanLiteral",
18 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
19 "value": true
20 },
21 "consequent": {
22 "type": "JSXElement",
23 "start":8,"end":15,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":15,"index":15}},
24 "openingElement": {
25 "type": "JSXOpeningElement",
26 "start":8,"end":15,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":15,"index":15}},
27 "name": {
28 "type": "JSXIdentifier",
29 "start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12}},
30 "name": "div"
31 },
32 "attributes": [],
33 "selfClosing": true
34 },
35 "closingElement": null,
36 "children": [],
37 "extra": {
38 "parenthesized": true,
39 "parenStart": 7
40 }
41 },
42 "alternate": {
43 "type": "JSXElement",
44 "start":19,"end":26,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":26,"index":26}},
45 "openingElement": {
46 "type": "JSXOpeningElement",
47 "start":19,"end":26,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":26,"index":26}},
48 "name": {
49 "type": "JSXIdentifier",
50 "start":20,"end":23,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":23,"index":23}},
51 "name": "div"
52 },
53 "attributes": [],
54 "selfClosing": true
55 },
56 "closingElement": null,
57 "children": []
58 }
59 }
60 }
61 ],
62 "directives": []
63 }
64 }