def place.key

emerging-ezjson@1.3.0.0 · src/pull.bend:221

import emerging-ezjson@1.3.0.0/src/pull.bend as Pull
import Base

221# an object key has landed. The value comes after the colon
222def place.key(ev: Ev, rest: String, frames: List<&2, Frame>, goal: Goal) -> St:
223  match goal:
224    case GNext{}:
225      S{MDone{SEv{ev}, rest}, FObj{SCol{}, False{}} <> frames, goal, False{}, False{}}
226    case GSkip{0n}:
227      err.st(goal)
228    case GSkip{1n+left}:
229      S{MIdle{}, FObj{SCol{}, False{}} <> frames, goal, False{}, False{}}

Uses (12)

Used by (1)