MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / next

Method next

scripts/rubi/wl-parser.ts:198–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 return this.tokens[this.i];
197 }
198 private next(): Token {
199 const t = this.tokens[this.i++];
200 if (!t) throw new Error('unexpected end of input');
201 return t;
202 }
203 private expect(value: string): void {
204 const t = this.next();
205 if (t.kind !== 'punct' || t.value !== value)

Callers 4

expectMethod · 0.95
parseExpressionMethod · 0.95
parsePrefixMethod · 0.95
parsePostfixMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected