Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/top-level-await-unambiguous/ambiguous-allowAwaitOutsideFunction/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":65,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":12,"index":65}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":65,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":12,"index":65}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
13 "expression": {
14 "type": "AwaitExpression",
15 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
16 "argument": {
17 "type": "NumericLiteral",
18 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}},
19 "extra": {
20 "rawValue": 0,
21 "raw": "0"
22 },
23 "value": 0
24 }
25 }
26 },
27 {
28 "type": "ExpressionStatement",
29 "start":9,"end":18,"loc":{"start":{"line":3,"column":0,"index":9},"end":{"line":3,"column":9,"index":18}},
30 "expression": {
31 "type": "AwaitExpression",
32 "start":9,"end":18,"loc":{"start":{"line":3,"column":0,"index":9},"end":{"line":3,"column":9,"index":18}},
33 "argument": {
34 "type": "UnaryExpression",
35 "start":15,"end":18,"loc":{"start":{"line":3,"column":6,"index":15},"end":{"line":3,"column":9,"index":18}},
36 "operator": "+",
37 "prefix": true,
38 "argument": {
39 "type": "NumericLiteral",
40 "start":17,"end":18,"loc":{"start":{"line":3,"column":8,"index":17},"end":{"line":3,"column":9,"index":18}},
41 "extra": {
42 "rawValue": 0,
43 "raw": "0"
44 },
45 "value": 0
46 }
47 }
48 }
49 },
50 {
51 "type": "ExpressionStatement",
52 "start":19,"end":28,"loc":{"start":{"line":4,"column":0,"index":19},"end":{"line":4,"column":9,"index":28}},
53 "expression": {
54 "type": "AwaitExpression",
55 "start":19,"end":28,"loc":{"start":{"line":4,"column":0,"index":19},"end":{"line":4,"column":9,"index":28}},
56 "argument": {
57 "type": "UnaryExpression",
58 "start":25,"end":28,"loc":{"start":{"line":4,"column":6,"index":25},"end":{"line":4,"column":9,"index":28}},
59 "operator": "-",
60 "prefix": true,
61 "argument": {
62 "type": "NumericLiteral",
63 "start":27,"end":28,"loc":{"start":{"line":4,"column":8,"index":27},"end":{"line":4,"column":9,"index":28}},
64 "extra": {
65 "rawValue": 0,
66 "raw": "0"
67 },
68 "value": 0
69 }
70 }
71 }
72 },
73 {
74 "type": "ExpressionStatement",
75 "start":29,"end":40,"loc":{"start":{"line":5,"column":0,"index":29},"end":{"line":5,"column":11,"index":40}},
76 "expression": {
77 "type": "AwaitExpression",
78 "start":29,"end":40,"loc":{"start":{"line":5,"column":0,"index":29},"end":{"line":5,"column":11,"index":40}},
79 "argument": {
80 "type": "NumericLiteral",
81 "start":37,"end":38,"loc":{"start":{"line":5,"column":8,"index":37},"end":{"line":5,"column":9,"index":38}},
82 "extra": {
83 "rawValue": 0,
84 "raw": "0",
85 "parenthesized": true,
86 "parenStart": 35
87 },
88 "value": 0
89 }
90 }
91 },
92 {
93 "type": "ExpressionStatement",
94 "start":41,"end":52,"loc":{"start":{"line":6,"column":0,"index":41},"end":{"line":6,"column":11,"index":52}},
95 "expression": {
96 "type": "AwaitExpression",
97 "start":41,"end":52,"loc":{"start":{"line":6,"column":0,"index":41},"end":{"line":6,"column":11,"index":52}},
98 "argument": {
99 "type": "ArrayExpression",
100 "start":47,"end":52,"loc":{"start":{"line":6,"column":6,"index":47},"end":{"line":6,"column":11,"index":52}},
101 "elements": [
102 {
103 "type": "NumericLiteral",
104 "start":49,"end":50,"loc":{"start":{"line":6,"column":8,"index":49},"end":{"line":6,"column":9,"index":50}},
105 "extra": {
106 "rawValue": 0,
107 "raw": "0"
108 },
109 "value": 0
110 }
111 ]
112 }
113 }
114 },
115 {
116 "type": "ExpressionStatement",
117 "start":53,"end":65,"loc":{"start":{"line":7,"column":0,"index":53},"end":{"line":7,"column":12,"index":65}},
118 "expression": {
119 "type": "AwaitExpression",
120 "start":53,"end":65,"loc":{"start":{"line":7,"column":0,"index":53},"end":{"line":7,"column":12,"index":65}},
121 "argument": {
122 "type": "RegExpLiteral",
123 "start":59,"end":65,"loc":{"start":{"line":7,"column":6,"index":59},"end":{"line":7,"column":12,"index":65}},
124 "extra": {
125 "raw": "/ 0 /u"
126 },
127 "pattern": " 0 ",
128 "flags": "u"
129 }
130 }
131 }
132 ],
133 "directives": []
134 }
135 }