Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
parseCode
Function · 0.95
syntax-highlighter.ts
File · 0.80
parseHeading
Method · 0.80
parseBlockquote
Method · 0.80
parseCodeBlock
Method · 0.80
parseCallout
Method · 0.80
parseList
Method · 0.80
parseTable
Method · 0.80
parseParagraph
Method · 0.80
skipWhitespace
Method · 0.80
readUntil
Method · 0.80
consumeLine
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected