Rename: ts_lookahead_iterator_advance -> ts_lookahead_iterator_next
This commit is contained in:
parent
1253c4c654
commit
26c3ae7b98
8 changed files with 15 additions and 16 deletions
|
|
@ -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 };
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue