Skip to main content

Crate normalize_facts_core

Crate normalize_facts_core 

Source
Expand description

Core data types for normalize facts.

This crate defines the vocabulary for code facts - symbols, imports, exports, and related metadata. These types are used by:

  • normalize-facts for extraction and storage
  • normalize-facts-rules-api for analysis rules
  • normalize-languages for language-specific extraction

Structs§

Export
An export declaration
FlatImport
A flattened import for indexing (one entry per imported name)
FlatSymbol
A flattened symbol for indexing (parent reference instead of nested children)
Import
An import statement
IndexedFile
Metadata about an indexed file
Symbol
A code symbol extracted from source
TypeRef
A type-to-type reference extracted from source code.

Enums§

SymbolKind
Symbol kind classification
TypeRefKind
The kind of type reference relationship.
Visibility
Symbol visibility