[lsp] Go to definition

This adds the "textDocument/definition" capability to the language
server. This capability only works for library names and top-level
declarations, i.e. not members or methods.

Test: go test ./...
Change-Id: I6de0ae3730ac54db7975b37f7136514bfa2255d0
Reviewed-on: https://fuchsia-review.googlesource.com/c/fidl-misc/+/395895
Reviewed-by: Pascal Perez <pascallouis@google.com>
Reviewed-by: Benjamin Prosnitz <bprosnitz@google.com>
17 files changed
tree: 107d405f7dbd1085a6c228c40f2a50fc64b9f6a1
  1. fidl-lsp/
  2. fidldev/
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTING.md
  6. LICENSE
  7. PATENTS
  8. README.md
README.md

Fuchsia Open Source Template Repository

This repository is a template that we will use when creating new open source repositories for Fuchsia.