Json.plan.obj_next: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/json.bend as Json Lines 158-165 of cswap-bend-cli@0.1.0.0/json.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/json.bend&start_line=158&end_line=165 import Base import cswap-bend-cli@0.1.0.0/json/lex.bend as Lex def plan.obj_next(+toks: List<&2, Lex.Tok>) -> Plan: match toks: case Nil{}: PRes{Fail{"trailing comma in object"}} case Con{Lex.TStr{k}, Con{Lex.TColon{}, +t}}: plan.field(k, t) case _: PRes{Fail{"expected a string key and :"}} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json/lex.bend&name=Tok https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Plan https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=plan.field