Skip to main content Module inlay_hints Copy item path Source HintLookup Both lookup strategies: exact byte-offset match and (name, arg_count) fallback.
Built once per file when the AST is cached, reused on every inlay hint request. ResolvedCallSite Resolved callsite info returned to hover for param doc lookup. TsCallContext Result of finding the enclosing call site at a byte position via tree-sitter. build_hint_index Build the hint index for all files from the AST sources.
Called once in CachedBuild::new(). inlay_hints Generate inlay hints for a given range of source. ts_find_call_at_byte Find the enclosing call_expression or emit_statement for a given byte
position in the live buffer using tree-sitter. ts_parse Parse Solidity source with tree-sitter. HintIndex Pre-computed hint lookups for all files, keyed by absolutePath.
Built once in CachedBuild::new(), reused on every inlay hint request.