Rename: ts_lookahead_iterator_advance -> ts_lookahead_iterator_next

This commit is contained in:
Andrew Hlynskyi 2023-08-09 14:17:54 +03:00
parent 1253c4c654
commit 26c3ae7b98
8 changed files with 15 additions and 16 deletions

View file

@ -1025,7 +1025,7 @@ class LookaheadIterable {
const self = this;
return {
next() {
if (C._ts_lookahead_iterator_advance(self[0])) {
if (C._ts_lookahead_iterator_next(self[0])) {
return { done: false, value: self.currentType };
}