def span.quote.go
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
5741# the first n characters, reversed onto acc. a character that needs an escape stops
5742def span.quote.go(src: String, +nn: U32, zz: Bool, acc: SqAcc) -> Sq:
5743 match src zz:
5744 case _s True{}:
5745 span.quote.end(acc)
5746 case SNil{} False{}:
5747 span.quote.end(acc)
5748 case SCon{+h, t} False{}:
5749 span.quote.go(t, U32.sub(nn, 1), U32.is_zero(U32.sub(nn, 1)),
5750 span.quote.push(span.esc(Char.to_u32(h)), acc, h))