MCPcopy Create free account
hub / github.com/Effect-TS/effect / peek

Method peek

packages/effect/src/unstable/encoding/Yaml.ts:313–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311 }
312
313 private peek(): string {
314 return this.input[this.index] ?? ""
315 }
316
317 private fail(message: string): never {
318 throw new SyntaxError(`${message} at flow offset ${this.index}`)

Callers 11

parseValueMethod · 0.95
parseSequenceMethod · 0.95
parseMappingMethod · 0.95
parseKeyMethod · 0.95
readUntilMethod · 0.95
skipWhitespaceMethod · 0.95
expectMethod · 0.95
TxQueue.test.tsFile · 0.45
Queue.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected