# `Minga.LSP.DocumentContext`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga/lsp/document_context.ex#L1)

Identifies the exact client-side document representation used for an LSP request.

Buffer revisions and LSP wire versions are independent counters. This value records their relationship without comparing their numbers.

# `t`

```elixir
@type t() :: %Minga.LSP.DocumentContext{
  buffer: pid(),
  buffer_revision: non_neg_integer(),
  client: pid(),
  encoding: Minga.LSP.PositionEncoding.encoding(),
  lsp_version: pos_integer(),
  uri: String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
