def lex.head.close.go

emerging-eztoml@0.9.0.0 · main.bend:3880

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

3880# push the last segment when the buffer holds one
3881def lex.head.close.go(empty: Bool, arr: Bool, st: St) -> St:
3882  match empty:
3883    case True{}:
3884      lex.head.close2(arr, st)
3885    case False{}:
3886      lex.head.close2(arr, seg.push(st, LHead{}))

Uses (5)

Used by (1)