def Yaml.in_block
import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yamlimport Base
233# A raw line inside a block scalar: content while deeper than the key (or
234# blank), else the block ends and the line is read as ordinary.
235def Yaml.in_block(out: List<&2, Line>, b: Blk, +raw: String) -> LS:
236 match b:
237 case Blk{+ki, p, f, c, +bi, acc}:
238 Yaml.in_block.go(out, Blk{ki, p, f, c, bi, acc}, raw, String.is_empty(String.trim(raw)),
239 U32.is_gt(Yaml.indent(raw, 0), ki), U32.is_eq(bi, 0))