Nav.hover.item: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/nav.bend as Nav Lines 217-229 of bolt@1.27.0.0/src/lsp/nav.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/nav.bend&start_line=217&end_line=229 import Base import bolt@1.27.0.0/src/syntax/outline.bend as Outline import bolt@1.27.0.0/src/syntax/bind.bend as Bind import bolt@1.27.0.0/src/lsp/files/service.bend as F import bolt@1.27.0.0/src/lsp/docs.bend as Docs # the outline item a top-level name hovers as. `Alias.law` is the law in the # file behind Alias (the comment lives there); a bare name is this document's def hover.item( ~fs: F.Files, +name: String, items: List<&2, Outline.Item>, docs: List<&2, Docs.Doc>, +uri: String, bb: Bind.Bind ) -> IO(Maybe<&2, Found>): do IO>: m : Maybe<&2, Found> <- resolve(~fs, docs, uri, name) return hover.pick(m, found(Outline.find(items, name), uri), uri, bb) Uses (15): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/docs.bend&name=Doc https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/files/service.bend&name=Files https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/nav.bend&name=Found https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/nav.bend&name=found https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/nav.bend&name=hover.pick https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/nav.bend&name=resolve https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/bind.bend&name=Bind https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/outline.bend&name=Item https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/outline.bend&name=find