def punct.colon

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

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

424# a colon after a key
425def punct.colon(stack: List<&2, Frame>, goal: Goal) -> St:
426  match stack:
427    case Con{FObj{SCol{}, fresh}, frames}:
428      S{MIdle{}, FObj{SVal{}, False{}} <> frames, goal, False{}, False{}}
429    case other:
430      err.st(goal)

Uses (8)

Used by (1)