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

Method parse

packages/effect/src/encoding/Yaml.ts:588–595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

586 }
587
588 parse(): unknown {
589 const value = this.parseValue()
590 this.skipWhitespace()
591 if (this.index !== this.line.length) {
592 this.fail("Unexpected flow collection content")
593 }
594 return value
595 }
596
597 private parseValue(): unknown {
598 this.skipWhitespace()

Callers 1

parseFlowValueMethod · 0.45

Calls 3

parseValueMethod · 0.95
skipWhitespaceMethod · 0.95
failMethod · 0.95

Tested by

no test coverage detected