Json.plan.obj_first: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/json.bend as Json Lines 149-156 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=149&end_line=156 import Base import cswap-bend-cli@0.1.0.0/json/lex.bend as Lex def plan.obj_first(+toks: List<&2, Lex.Tok>) -> Plan: match toks: case Nil{}: PRes{Done{JNil{}}} case Con{Lex.TStr{k}, Con{Lex.TColon{}, +t}}: plan.field(k, t) case _: PRes{Fail{"expected a string key and :"}} Uses (6): 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=Json 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