Debian Codegraph @

packages/babel-parser/test/fixtures/flow/internal-slot/object/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "TypeAlias",
12 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
13 "id": {
14 "type": "Identifier",
15 "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"T"},
16 "name": "T"
17 },
18 "typeParameters": null,
19 "right": {
20 "type": "ObjectTypeAnnotation",
21 "start":9,"end":23,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":23,"index":23}},
22 "callProperties": [],
23 "properties": [],
24 "indexers": [],
25 "internalSlots": [
26 {
27 "type": "ObjectTypeInternalSlot",
28 "start":11,"end":21,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":21,"index":21}},
29 "static": false,
30 "id": {
31 "type": "Identifier",
32 "start":13,"end":16,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":16,"index":16},"identifierName":"foo"},
33 "name": "foo"
34 },
35 "method": false,
36 "value": {
37 "type": "GenericTypeAnnotation",
38 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21}},
39 "typeParameters": null,
40 "id": {
41 "type": "Identifier",
42 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"X"},
43 "name": "X"
44 }
45 }
46 }
47 ],
48 "exact": false,
49 "inexact": false
50 }
51 }
52 ],
53 "directives": []
54 }
55 }