def json.before

yaml-for-bend@0.1.1.0 · scan.bend:440

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

440def json.before(out: List<&2, T.Token>) -> Bool:
441  match out:
442    case Nil{}:
443      False{}
444    case Con{t, rest}:
445      match t:
446        case T.Token{tok, start, end}:
447          json.tok(tok)

Uses (4)

Used by (1)