def tree.sub.arr

emerging-eztoml@0.9.0.0 · main.bend:2334

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

2334# a header enters the last element of an array of tables; a dotted key cannot
2335# add to an array of tables
2336def tree.sub.arr(
2337  dot: Bool,
2338  +path: String,
2339  elems: List<&2, Val>,
2340  +name: String,
2341  +vs: List<&2, Val>,
2342  job: Job,
2343  stack: List<&2, Fr>,
2344  +pre: String,
2345  heads: List<&2, String>,
2346  inl: Bool
2347) -> Tw:
2348  match dot:
2349    case True{}:
2350      Tw{vs, job, stack, "duplicate table", pre, heads, inl}
2351    case False{}:
2352      tree.sub.aots(look.last(elems, path), name, vs, job, stack, pre, heads, inl, path)

Uses (9)

Used by (1)