def hover.bind

bolt@1.27.0.0 · src/lsp/nav.bend:247

import bolt@1.27.0.0/src/lsp/nav.bend as Nav
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

247# the binder under the cursor, read for hover
248def hover.bind(
249  ~fs: F.Files,
250  bb: Bind.Bind,
251  items: List<&2, Outline.Item>,
252  docs: List<&2, Docs.Doc>,
253  uri: String
254) -> IO(Maybe<&2, Found>):
255  Bind.Bind{+name, line, col, +kind, note} = bb
256  hover.kind(~fs, kind, name, items, docs, uri, Bind.Bind{name, line, col, kind, note})

Uses (10)

Used by (1)