def lex.head.gap.go

emerging-eztoml@0.9.0.0 · main.bend:3839

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

3839# whitespace with no segment open still needs a segment after it, so a second
3840# bracket there is refused: `[[` is two brackets with nothing between
3841def lex.head.gap.go(empty: Bool, st: St) -> St:
3842  match empty:
3843    case True{}:
3844      st.lex(st, LHeadDot{})
3845    case False{}:
3846      seg.push(st, LHeadGap{})

Uses (5)

Used by (1)