Skip to main content

Module scip

Module scip 

Source
Expand description

SCIP integration: reader, orchestrator, and graph builder.

  • Reader (mod.rs): Parse .scip protobuf files into intermediate structs.
  • Orchestrator (orchestrate.rs): Auto-detect languages and indexers, run them.

Modules§

graph_builder
SCIP graph builder: create nodes + edges from parsed SCIP data.
orchestrate
SCIP indexer orchestration: auto-detect project languages and available SCIP indexers, run them, and merge the resulting .scip files.

Structs§

ScipDefinition
A symbol definition extracted from a SCIP index.
ScipExternal
An external (dependency) symbol from the SCIP index.
ScipReadResult
Parsed result from reading a .scip file.
ScipReference
A symbol reference (non-definition occurrence) extracted from a SCIP index.
ScipRelationship
A relationship declared on a SymbolInformation.

Functions§

detect_language_separator
Detect the appropriate separator for qualified names based on language.
infer_kind_from_parsed
Infer node kind from an already-parsed SCIP symbol, avoiding a redundant parse.
infer_kind_from_symbol
Infer NodeKind from the SCIP symbol’s descriptor suffixes when SymbolInformation.Kind is UnspecifiedKind (e.g., scip-go).
is_import_ref
Check if a reference has the import role.
is_read_ref
Check if a reference has read access.
is_write_ref
Check if a reference has write access.
parse_scip_bytes
Parse SCIP protobuf bytes into intermediate structs.
scip_symbol_to_qualified_name
Extract a qualified name from a SCIP symbol string using the appropriate language separator.