def lit.of
import bolt@1.27.0.0/src/rules/correctness/arms.bend as Armsimport Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
49# a Nat literal token's arm, once its value is read
50def lit.of(mm: Maybe<&2, U32>, +tt: String, +rest: Tree.Node, +line: U32, +col: U32) -> Arm:
51 match mm:
52 case None{}:
53 AOther{}
54 case Some{+k}:
55 lit.shape(rest, k, tt, line, col)