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

Function skipToNextLine

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

Source from the content-addressed store, hash-verified

106 }
107
108 skipToNextLine(): void {
109 while (!this.atEnd && this.peek() !== '\n') this.consume();
110 if (!this.atEnd) this.consume(); // Consume the newline character
111 }
112
113 skipToString(str: string): boolean {
114 const start = this.pos;

Callers

nothing calls this directly

Calls 2

consumeMethod · 0.80
peekMethod · 0.45

Tested by

no test coverage detected