def col.of

bolt@1.27.0.0 · src/syntax/tree.bend:79

import bolt@1.27.0.0/src/syntax/tree.bend as Tree
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

79def col.of(mm: Maybe<&2, Lex.Tok>) -> U32:
80  match mm:
81    case None{}:
82      0
83    case Some{Lex.Tok{k, t, l, c}}:
84      c

Uses (3)

Used by (1)