(
content: string,
options: ParseOptions = {},
)
| 102 | * @returns Array of parsed documents. |
| 103 | */ |
| 104 | export function parseAll( |
| 105 | content: string, |
| 106 | options: ParseOptions = {}, |
| 107 | ): unknown[] { |
| 108 | content = sanitizeInput(content); |
| 109 | const state = new LoaderState(content, { |
| 110 | ...options, |
| 111 | schema: getSchema(options.schema, options.extraTypes), |
| 112 | }); |
| 113 | return [...state.readDocuments()]; |
| 114 | } |
nothing calls this directly
no test coverage detected