Debian Codegraph @

packages/babel-parser/test/fixtures/core/categorized/ternary-object-literal-divide/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
13 "expression": {
14 "type": "ConditionalExpression",
15 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
16 "test": {
17 "type": "NumericLiteral",
18 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1}},
19 "extra": {
20 "rawValue": 0,
21 "raw": "0"
22 },
23 "value": 0
24 },
25 "consequent": {
26 "type": "Identifier",
27 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"a"},
28 "name": "a"
29 },
30 "alternate": {
31 "type": "BinaryExpression",
32 "start":8,"end":19,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":19,"index":19}},
33 "left": {
34 "type": "ObjectExpression",
35 "start":8,"end":17,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":17,"index":17}},
36 "properties": [
37 {
38 "type": "ObjectProperty",
39 "start":10,"end":15,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":15,"index":15}},
40 "method": false,
41 "key": {
42 "type": "Identifier",
43 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"b"},
44 "name": "b"
45 },
46 "computed": false,
47 "shorthand": false,
48 "value": {
49 "type": "NumericLiteral",
50 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15}},
51 "extra": {
52 "rawValue": 1,
53 "raw": "1"
54 },
55 "value": 1
56 }
57 }
58 ]
59 },
60 "operator": "/",
61 "right": {
62 "type": "NumericLiteral",
63 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}},
64 "extra": {
65 "rawValue": 2,
66 "raw": "2"
67 },
68 "value": 2
69 }
70 }
71 }
72 }
73 ],
74 "directives": []
75 }
76 }