Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/class-private-methods/async-generator/input.js

raw
1 class Foo {
2 async* #readLines(path) {
3 let file = await fileOpen(path);
4
5 try {
6 while (!file.EOF) {
7 yield await file.readLine();
8 }
9 } finally {
10 await file.close();
11 }
12 }
13 }