~/bend-docscommunity

src/lsp/nav.bend fails

raw source on the hub · import 0x013e0f9a479bbebad5ed196725eede95/src/lsp/nav.bend as Nav

lsp/nav: from a name to the item it names. A use is answered as the binder resolved it: a binder of the document, an item of the document (before any alias), rest in the file behind the import Alias of Alias.rest, or Base. A word the binder has nothing for (a half-typed name) is looked up behind its alias, else in the document, else in Base. Open documents are read from the store (what the editor shows), everything else through the files service.

8 imports
import Base
import ../syntax/outline.bend as Outline
import ../syntax/word.bend as Word
import ../syntax/bind.bend as Bind
import ./files/service.bend as F
import ./docs.bend as Docs
import ./path.bend as Path
import ./proto.bend as Proto