Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
syntax-highlighter.ts
File · 0.45
parseBlock
Method · 0.45
parseHeading
Method · 0.45
parseBlockquote
Method · 0.45
parseCodeBlock
Method · 0.45
parseCallout
Method · 0.45
skipWhitespace
Method · 0.45
readUntil
Method · 0.45
consumeLine
Method · 0.45
peekLine
Method · 0.45
consume
Function · 0.45
atLineEnd
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected