Debian Codegraph @

packages/babel-parser/test/fixtures/flow/regression/issue-10314/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":32,"index":42}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":32,"index":42}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":10,"end":42,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":32,"index":42}},
13 "expression": {
14 "type": "ConditionalExpression",
15 "start":10,"end":41,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":31,"index":41}},
16 "test": {
17 "type": "BooleanLiteral",
18 "start":10,"end":14,"loc":{"start":{"line":3,"column":0,"index":10},"end":{"line":3,"column":4,"index":14}},
19 "value": true
20 },
21 "consequent": {
22 "type": "CallExpression",
23 "start":17,"end":34,"loc":{"start":{"line":3,"column":7,"index":17},"end":{"line":3,"column":24,"index":34}},
24 "callee": {
25 "type": "MemberExpression",
26 "start":17,"end":32,"loc":{"start":{"line":3,"column":7,"index":17},"end":{"line":3,"column":22,"index":32}},
27 "object": {
28 "type": "Identifier",
29 "start":17,"end":22,"loc":{"start":{"line":3,"column":7,"index":17},"end":{"line":3,"column":12,"index":22},"identifierName":"async"},
30 "name": "async"
31 },
32 "computed": false,
33 "property": {
34 "type": "Identifier",
35 "start":23,"end":32,"loc":{"start":{"line":3,"column":13,"index":23},"end":{"line":3,"column":22,"index":32},"identifierName":"waterfall"},
36 "name": "waterfall"
37 }
38 },
39 "arguments": []
40 },
41 "alternate": {
42 "type": "NullLiteral",
43 "start":37,"end":41,"loc":{"start":{"line":3,"column":27,"index":37},"end":{"line":3,"column":31,"index":41}}
44 }
45 },
46 "leadingComments": [
47 {
48 "type": "CommentLine",
49 "value": " @flow",
50 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}
51 }
52 ]
53 }
54 ],
55 "directives": []
56 },
57 "comments": [
58 {
59 "type": "CommentLine",
60 "value": " @flow",
61 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}
62 }
63 ]
64 }