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

Function skipWhitespace

src/common/parser.ts:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99
100 skipWhitespace(): void {
101 while (!this.atEnd && /\s/.test(this.peek()!)) this.pos += 1;
102 }
103
104 skipToEndOfLine(): void {
105 while (!this.atLineEnd) this.consume();

Callers

nothing calls this directly

Calls 1

peekMethod · 0.45

Tested by

no test coverage detected