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

Method consume

src/common/buffer.ts:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 }
17
18 consume(): string {
19 return this.s[this.pos++];
20 }
21
22 match(s: string): boolean {
23 let i = this.pos;

Callers 15

parseCodeFunction · 0.95
parseHeadingMethod · 0.80
parseBlockquoteMethod · 0.80
parseCodeBlockMethod · 0.80
parseCalloutMethod · 0.80
parseListMethod · 0.80
parseTableMethod · 0.80
parseParagraphMethod · 0.80
skipWhitespaceMethod · 0.80
readUntilMethod · 0.80
consumeLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected