def tree.sub.aots

emerging-eztoml@0.9.0.0 · main.bend:2257

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

2257# enter the last element of an array of tables
2258def tree.sub.aots(
2259  last: Last,
2260  +name: String,
2261  +vs: List<&2, Val>,
2262  job: Job,
2263  stack: List<&2, Fr>,
2264  +pre: String,
2265  heads: List<&2, String>,
2266  inl: Bool,
2267  path: String
2268) -> Tw:
2269  match last:
2270    case LastSome{_p, prefix, rows}:
2271      Tw{rows, job, FrAot{name, vs, prefix, path} <> stack, "", tree.pre(pre, name),
2272        heads, inl}
2273    case LastNo{why}:
2274      Tw{vs, job, stack, why, pre, heads, inl}

Uses (9)

Used by (1)