MCPcopy Index your code
hub / github.com/ebkalderon/nix-language-server

github.com/ebkalderon/nix-language-server @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
410 symbols 880 edges 46 files 68 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

ToDiagnostic (Interface)
Trait for converting error types to pretty-printable diagnostics. # Examples ``` use codespan::{Files, FileId, Span}; [7 …
nix-parser/src/error.rs
ToSpan (Interface)
A trait for converting a value to a `codespan::Span`. This is helpful for getting spanned types from external crates to [2 …
nix-parser2/src/lib.rs
ToDiagnostic (Interface)
A trait for converting an error type into a reportable diagnostic. This trait is generic so that both CLI diagnostics a
nix-errors/src/lib.rs
ToSpan (Interface)
(no doc) [1 implementers]
nix-lexer/src/lib.rs
HasSpan (Interface)
(no doc) [32 implementers]
nix-parser/src/lib.rs
FormatterExt (Interface)
A trait which extends the functionality of [`std::fmt::Formatter`]. [`std::fmt::Formatter`]: https://doc.rust-lang.org/ [1 …
nix-parser2/src/ast.rs
ToSpan (Interface)
(no doc) [5 implementers]
nix-parser/src/lib.rs
FormatterExt (Interface)
A trait which extends the functionality of [`std::fmt::Formatter`]. [`std::fmt::Formatter`]: https://doc.rust-lang.org/ [1 …
nix-parser/src/ast/fmt.rs

Core symbols most depended-on inside this repo

finish
called by 64
nix-parser2/src/cst.rs
to_span
called by 47
nix-parser/src/lexer/tokens.rs
push
called by 46
nix-parser/src/error.rs
map
called by 43
nix-parser/src/parser/partial.rs
span
called by 29
nix-parser/src/ast/tokens.rs
write_str
called by 24
nix-parser2/src/ast.rs
map_partial
called by 22
nix-parser/src/parser/partial.rs
is_empty
called by 20
nix-parser/src/error.rs

Shape

Method 162
Function 149
Class 63
Enum 28
Interface 8

Languages

Rust100%

Modules by API surface

nix-parser/src/ast.rs58 symbols
nix-parser2/src/ast.rs31 symbols
nix-errors/src/lib.rs27 symbols
nix-parser/src/lexer/tokens.rs26 symbols
nix-lexer/src/lib.rs26 symbols
nix-parser/src/parser/partial.rs21 symbols
nix-parser/src/error.rs20 symbols
nix-parser/src/parser/expr.rs18 symbols
nix-parser2/src/cst.rs16 symbols
nix-parser/src/lexer.rs11 symbols
src/backend.rs10 symbols
nix-parser/src/parser/expr/atomic.rs10 symbols

For agents

$ claude mcp add nix-language-server \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact