def expect.str.go
import emerging-ezjson@1.3.0.0/src/pull.bend as Pullimport Base
156# a string can start here: a value, or an object key
157def expect.str.go(stack: List<&2, Frame>) -> Bool:
158 match stack:
159 case Nil{}:
160 True{}
161 case Con{FArr{SVal{}, fresh}, rest}:
162 True{}
163 case Con{FObj{SVal{}, fresh}, rest}:
164 True{}
165 case Con{FObj{SKey{}, fresh}, rest}:
166 True{}
167 case other:
168 False{}