def punct.on

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

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

491# one punctuation token
492def punct.on(tok: Lex.Tok, stack: List<&2, Frame>, goal: Goal, done: Bool) -> St:
493  match done:
494    case True{}:
495      err.st(goal)
496    case False{}:
497      punct.go(tok, stack, goal, done)

Uses (8)

Used by (2)