Semantic.by_name.one: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/semantic.bend as Semantic Lines 211-219 of bolt@1.27.0.0/src/lsp/semantic.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&start_line=211&end_line=219 import Base import bolt@1.27.0.0/src/syntax/bind.bend as Bind # an item or constructor into the index by its name's key; other binders pass def by_name.one(+name: String, line: U32, col: U32, kk: Bind.BindKind, ii: Index) -> Index: match kk: case Bind.KItem{}: idx.put(path(depth(), hash(name, 0)), ii, Entry{name, line, col, Bind.KItem{}}) case Bind.KCtor{}: idx.put(path(depth(), hash(name, 0)), ii, Entry{name, line, col, Bind.KCtor{}}) case _other: ii Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&name=Index https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&name=depth https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&name=hash https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&name=idx.put https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&name=path https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/bind.bend&name=BindKind