Module query

Module query 

Source
Expand description

Query operations for CodeGraph

Handles symbol and reference queries.

Structs§

SymbolQueryResult
Query result containing symbol metadata

Functions§

edge_endpoints
Enumerate edge endpoints for orphan detection.
index_references
Index references for a file into the graph
references_to_symbol
Query all references to a specific symbol
symbol_extents
Lookup symbol extents (byte + line range) by name within a file.
symbol_id_by_name
Query the node ID of a specific symbol by file path and symbol name
symbol_nodes_in_file
Query symbols in a file along with their node IDs for deterministic CLI output.
symbol_nodes_in_file_with_ids
Query symbols in a file with their node IDs and stable symbol IDs.
symbols_in_file
Query all symbols defined in a file
symbols_in_file_with_kind
Query symbols defined in a file, optionally filtered by kind