def field.both

cswap-bend-cli@0.1.0.0 · fmt/yamlr.bend:211

import cswap-bend-cli@0.1.0.0/fmt/yamlr.bend as Yamlr
import Base
import cswap-bend-cli@0.1.0.0/fmt/yscal.bend as S

211def field.both(no_body: Bool, +k: String, +rest: String, r: List<&2, List<&2, Ln>>) -> Plan:
212  match no_body:
213    case True{}:
214      PFieldI{k, S.scalar(rest), r}
215    case False{}:
216      field.extra(S.scalar(rest), k)

Uses (7)

Used by (1)