def token_len

cswap-bend-cli@0.1.0.0 · fmt/ylex.bend:228

import cswap-bend-cli@0.1.0.0/fmt/ylex.bend as Ylex
import Base

228# Length of the quoted token at the start of `s` (quotes included), when `s`
229# starts with a quote and the token closes.
230def token_len(+s: String) -> Maybe<&2, Nat>:
231  token_len.q(s, first_code(s))

Uses (5)

Used by (2)