MCPcopy Create free account
hub / github.com/denoland/std / skipComment

Method skipComment

yaml/_loader_state.ts:255–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 }
254
255 skipComment() {
256 let ch = this.#scanner.peek();
257 if (ch !== SHARP) return;
258 this.#scanner.next();
259 ch = this.#scanner.peek();
260 while (ch !== 0 && !isEOL(ch)) {
261 this.#scanner.next();
262 ch = this.#scanner.peek();
263 }
264 }
265
266 readIndent() {
267 let ch = this.#scanner.peek();

Callers 3

skipSeparationSpaceMethod · 0.95
readBlockScalarMethod · 0.95
readDirectivesMethod · 0.95

Calls 3

isEOLFunction · 0.90
peekMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected