MCPcopy Index your code
hub / github.com/lutzroeder/netron / lookahead

Method lookahead

source/python.js:11469–11475  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11467 return this.next_tokens[0];
11468 }
11469 lookahead() {
11470 if (!this.next_tokens[1].kind) {
11471 this.position += this.cur().text().length;
11472 this.lex(this.next_tokens[1]);
11473 }
11474 return this.next_tokens[1];
11475 }
11476 next() {
11477 const [cur] = this.next_tokens;
11478 [, this.next_tokens[0], this.next_tokens[1], this.next_tokens[2]] = this.next_tokens;

Callers 1

parseFakeAndRealTypeMethod · 0.80

Calls 3

textMethod · 0.80
curMethod · 0.80
lexMethod · 0.80

Tested by

no test coverage detected