def sites

bolt@1.27.0.0 · src/syntax/bind.bend:1069

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

1069# every position a binder is named at: its own, then its uses'
1070def sites(bb: Bound, +line: U32, +col: U32) -> List<&2, Pos>:
1071  Bound{binds, uses, scopes} = bb
1072  Pos{line, col} <> sites.go(uses, line, col)

Uses (5)

Used by (1)