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

Method skipWhitespace

src/common/markdown-block.ts:248–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246
247 // Helper methods
248 skipWhitespace() {
249 while (!this.atEnd() && (this.peek() === ' ' || this.peek() === '\t')) {
250 this.consume();
251 }
252 }
253
254 skipEmptyLines() {
255 while (!this.atEnd()) {

Callers 4

parseBlockMethod · 0.95
parseHeadingMethod · 0.95
parseBlockquoteMethod · 0.95
parseListMethod · 0.95

Calls 3

consumeMethod · 0.80
atEndMethod · 0.45
peekMethod · 0.45

Tested by

no test coverage detected