def item_sites

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

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

1099# every position an item of the file is named at: its declaration, then its
1100# uses
1101def item_sites(bb: Bound, +name: String) -> List<&2, Pos>:
1102  Bound{binds, uses, scopes} = bb
1103  List.append(&2, Pos, item_sites.binds(binds, name), item_sites.uses(uses, name))

Uses (7)

Used by (1)