(text: string)
| 119 | } |
| 120 | /** The whole file as values, for an outline read from it (C7). */ |
| 121 | export function yamlTree(text: string): YamlValue | undefined { |
| 122 | const lines = linesOf(text); |
| 123 | return lines.length ? valueOf(lines, lines.map((_, index) => index)) : undefined; |
| 124 | } |
| 125 | |
| 126 | export function workflowFacts(text: string): WorkflowFacts | undefined { |
| 127 | const lines = linesOf(text); |