def use_class

bolt@1.27.0.0 · src/lsp/semantic.bend:299

import bolt@1.27.0.0/src/lsp/semantic.bend as Semantic
import Base
import bolt@1.27.0.0/src/syntax/bind.bend as Bind

299# the class of a name: the use that sits on its head, else its own shape
300def use_class(+hu: Bool, +us: List<&2, Bind.Use>, +all: Kinds, +name: String, +braced: Bool) -> U32:
301  match hu:
302    case True{}:
303      head_use_class(us, all, braced)
304    case False{}:
305      by_shape(name, braced)

Uses (8)

Used by (1)