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

Method skipComment

yaml/_loader_state.ts:266–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264 }
265
266 skipComment() {
267 let ch = this.#scanner.peek();
268 if (ch !== SHARP) return;
269 this.#scanner.next();
270 ch = this.#scanner.peek();
271 while (ch !== 0 && !isEOL(ch)) {
272 this.#scanner.next();
273 ch = this.#scanner.peek();
274 }
275 }
276
277 readIndent() {
278 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