def value.alone
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
import yaml-for-bend@0.1.1.0/token.bend as T
1391def value.alone(+st: Sc) -> Step:
1392 when(Step, sc.in_flow(st), u => Go{value.rest(st)},
1393 u => when(Step, sc.allowed(st), u => Go{value.rest(roll(st, sc.col(st), None{}, T.BMapStart{}, sc.at(st)))},
1394 u => fail(st, "mapping values are not allowed in this context", sc.at(st))))