def tk.kind

cswap-bend-cli@0.1.0.0 · json/scan.bend:4

import cswap-bend-cli@0.1.0.0/json/scan.bend as Scan
import Base
import cswap-bend-cli@0.1.0.0/json/lex.bend as Lex

4def tk.kind(t: Lex.Tok) -> U32:
5  match t:
6    case Lex.TLBrace{}:
7      11
8    case Lex.TLBrack{}:
9      12
10    case Lex.TRBrace{}:
11      21
12    case Lex.TRBrack{}:
13      22
14    case Lex.TComma{}:
15      3
16    case _:
17      0

Uses (2)

Used by (2)