def head_use_class
import bolt@1.27.0.0/src/lsp/semantic.bend as Semanticimport Base
import bolt@1.27.0.0/src/syntax/bind.bend as Bind
271# the type of the next use
272def head_use_class(uses: List<&2, Bind.Use>, all: Kinds, braced: Bool) -> U32:
273 match uses:
274 case Nil{}:
275 5
276 case Con{Bind.Use{n, l, c, tg}, rest}:
277 of_target(tg, all, n, braced)