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

Function parseAll

packages/effect/src/encoding/Yaml.ts:1572–1573  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

1570 * @since 4.0.0
1571 */
1572export const parseAll = (input: string): Result.Result<Array<unknown>, EncodingError> =>
1573 decode(input, (parser) => parser.parseStream())
1574
1575// Escape YAML 1.2 non-printables (§5.1), BOM (§5.4), and YAML 1.1 line/paragraph separators.
1576const isNonPrintableCode = (code: number): boolean =>

Callers

nothing calls this directly

Calls 2

parseStreamMethod · 0.80
decodeFunction · 0.70

Tested by

no test coverage detected