def called

bolt@1.27.0.0 · src/rules/digest.bend:202

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

202# what the uses name, in order: an item of the file, or one behind an alias
203def called(us: List<&2, Bind.Use>, +as: List<&2, Alias>, +file: String) -> List<&2, Mention>:
204  match us:
205    case Nil{}:
206      Nil{}
207    case Con{Bind.Use{n, l, c, tt}, rest}:
208      target(tt, as, file, called(rest, as, file))

Uses (6)

Used by (1)