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

Method peek

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

Source from the content-addressed store, hash-verified

12 }
13
14 peek(): string {
15 return this.s[this.pos];
16 }
17
18 consume(): string {
19 return this.s[this.pos++];

Callers 15

parseBlockMethod · 0.45
parseHeadingMethod · 0.45
parseBlockquoteMethod · 0.45
parseCodeBlockMethod · 0.45
parseCalloutMethod · 0.45
skipWhitespaceMethod · 0.45
readUntilMethod · 0.45
consumeLineMethod · 0.45
peekLineMethod · 0.45
consumeFunction · 0.45
atLineEndFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected